Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does Directive 5.7.2 apply to #elif directives?
#1
Is the following intended to be compliant with 5.7.2?

Code:
#if 1
/* some code */
#elif 0
/* some code */
#endif

Presumably this is just as offensive to the spirit of 5.7.2 as #if 0 is but an official position would be appreciated as the Directive only actually mentions #if.
Reply


Messages In This Thread
Does Directive 5.7.2 apply to #elif directives? - by rg99 - 30-09-2024, 09:29 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)