01-07-2008, 02:50 PM
This rule applies to the macro replacement list and not the ultimate expansion.
Therefore
is not compliant.
is compliant.
Therefore
Code:
#define CAT PI
Code:
#define CAT (PI)
Posted by and on behalf of the MISRA C Working Group