Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MISRA C:2012 Rule 20.5 applicable for inactive code ?
#2
The Glossary defines Code as "Code consists of everything within a translation unit that is not excluded by conditional compilation"

As such, the #undef at line 8 is excluded from analysis - that does not make it compliant or non-compliant
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)