AnsweredAssumed Answered

Missing Predefined C Macros

Question asked by pgo on May 15, 2009
Latest reply on May 16, 2009 by pgo

I'm trying to work around some version specific bugs in the HCS08 compiler.  That is, some bugs that were fixed after a certain version.  I want to implement some work-arounds but only on the earlier compiler versions.

 

I was intending to use the __CWCC__  macro that is meant to have the version number of the compiler.  Unfortunately this macro appears to be only defined for the Coldfire compiler. (Is this a bug?)

 

Can anyone suggest another method of determining the compiler version?

 

bye

Outcomes