Macro

CodeWarrior unlike GCC supports string replacement in a macro. Therefore to support string replacement porting will involve explicitly using the complete string.

Table 1. String Replacement
CodeWarrior GCC
# define MOD_INCLUDE(str) <str##.h> #ifdef __GNUC__# define MOD_INCLUDE(str) < str.h>#else# define MOD_INCLUDE(str) < str##.h>#endif