Carl Norman

HOWTO: Optimization disable for sections of code

Discussion created by Carl Norman on May 23, 2007
Latest reply on May 24, 2007 by CrasyCat
Wow, no standard font to get me started in the thread? Thats just weird! I even had to setup justification just to start typing in this screen!

Anyway, im pretty new to Codewarrior and C Coding, however, i have 10 years of writing assembly code under my belt

Simple question, how do i disable all optimization for sections of C code. Im debugging code that obviously gets removed by optimization while testing. I just want to tell the compilier, for these lines, dont just compile.


Message Edited by CarlFST60L on 2007-05-23 11:13 AM

Message Edited by CarlFST60L on 2007-05-23 11:17 AM