CodeWarrior unlike GCC supports string replacement in a macro. Therefore to support string replacement porting will involve explicitly using the complete string.
| CodeWarrior | GCC |
|---|---|
| # define MOD_INCLUDE(str) <str##.h> | #ifdef __GNUC__# define MOD_INCLUDE(str) < str.h>#else# define MOD_INCLUDE(str) < str##.h>#endif |