Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A16-0-1 Use #define for conditional file inclusion?
#2
Whilst the example doesn't violate the letter of this rule, it certainly is against the spirit and intension.

I'd not be surprised if an analysis tool reported this example as a violation.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: A16-0-1 Use #define for conditional file inclusion? - by misra cpp - 13-05-2022, 01:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)