Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does 13.7 apply to ALL invariant Boolean expressions?
#2
MISRA-C meeting 22-8-2006

1/ Using macros to \"configure\" features will require a deviation unless you use #if.

2/ Defensive programming is strongly encouraged. This may cause \"invarient\" conditional expressions. Deviations are required.

In this case the resulting deviation shows that the \"invariant\" has been considered, and is not a programming mistake.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)