AnsweredAssumed Answered

How to Turn Off All Optimizations/Eliminate SP debug info incorrect warning/etc

Question asked by Bill Scheremeta on Nov 8, 2006
Latest reply on Nov 8, 2006 by CrasyCat
Hi. I am using CodeWarrior 3.1 for HCS12.
 
I am having some problems with promotions to longs, the way certain #define's are taken when their size is not specified, etc mysterious results when an unsigned char member of a structure is a multiplicand versus a standalone unsigned char, understanding what is implementation dependent and what is not, AND ALL THAT GOOD STUFF.
 
I am experimenting with various snippets of code, and all too often the optimizations are obfuscating what is observed in the debugger.
 
Is there a way to setup a project so that all optimization is turned off (just for that project) ?
 
If there is no way to localize the compiler settings to that one project, can someone explain to me how to turn off all the optimizations anyway?
 
Thanks
 

Outcomes