Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does Directive 5.7.2 apply to #elif directives?
#2
You're right, it is equally bad.

We may have been too explicit in the description by saying "#if 0". In the next version this may be replaced by something more general, such as  "The preprocessor shall also not be used to 'comment out' code"
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: Does Directive 5.7.2 apply to #elif directives? - by misra cpp - 04-10-2024, 02:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)