__VERSION_NUM__

Preprocessor macro defined as the CodeWarrior tool version number.

Syntax
__VERSION_NUM__
  
Remarks

This macro can be used to determine in which tool version we are using.

Both Compiler and Assembler tools support this macro (the value returned from this macro depends on the tool compiling the file in which the macro lies).

This macro is comparable, and returns a numeric comparable value (i.e. version 10.0.0.1 returns the value: 0x10000001).

Related information
__ASSEMBLER__
__COMPILER__
__COUNTER__
__TARGETARCH__
__VERSION__
__cplusplus
__CWBUILD__
__CWCC__
__DATE__
__embedded_cplusplus
__FILE__
__func__
__FUNCTION__
__ide_target()
__LINE__
__MWERKS__
__optlevel
__PRETTY_FUNCTION__
__profile__
__STDC__
__TIME__