AnsweredAssumed Answered

ISSUE WITH PRE - PROCESSOR DIRECTIVE IN RELEASE MODE

Question asked by alok nigam on Oct 22, 2018
Latest reply on Oct 22, 2018 by Jiri Kral

I am using S32 Design Studio for ARM Version 2018.R1  , for my project . I have selected s32k146 as my target .

 

My release configuration is like below 

 

And my test code is like below 

 

 

But defining RELEASE as pre-processor has no effect , code within  RELEASE define is not taking into account for compilation .

 

Their is one more issue if i use preprocesor directive DEBUG , in debug mode configuration , then in release mode it is also taking into account .

 

I think this is somekind of bug in s32 studio  .  Please help in fixing this issue .

 

I am attaching my workspace , as attachment , make build configuration as RELEASE after importing project as it would be in debug by default .

 

Any help would be appreciated .

Attachments

Outcomes