05-12-2014, 01:47 PM
Does the essential type system intended to apply to preprocessing expressions?
For example:
For example:
Code:
void foo (void)
{
(0 == 1) + 1; /* non-compliant with Rule 10.1 */
}
#if (0 == 1) + 1 /* compliant or non-compliant with Rule 10.1 ? */
#endif
Posted by and on behalf of the MISRA C Working Group