01-11-2017, 04:03 PM
It is pretty clear from the Amplification that this is not a violation of Rule 20.8:
and that this is:
but is the following intended to be a violation of this rule?:
It is not clear if the preprocessing directive #elif 20 is evaluated for the purpose of this rule.
Code:
#if 0
#if 10 /* not evaluated, not a violation */
#endif
#endif
Code:
#if 0
#elif 20 /* evaluated, violation */
#endif
Code:
#if 1
#elif 20 /* ??? */
#endif
<t></t>