AnsweredAssumed Answered

How to temporarily disable the -Ansi option

Question asked by Davide Ferrari on Jan 20, 2010
Latest reply on Feb 2, 2010 by Daniel Lundin


I'd like to use CodeWarrior for HCS12(X) Microcontrollers (S12XE processor) with the strict Ansi option enabled (-Ansi).


The library files are not compliant with this option (i.e. mc9s12xep100.h has the bitfields defined with byte type).


Is there a way to temporarily disable this option in a file?


I'd like to avoid to modify the library files to make them compliant....


Many thanks