Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MISRA 6.1 with enum
#3
If the switch control expression is an object of enum type and the switch case expressions are constants of the same enum type, there is no MISRA violation.
Posted by and on behalf of the MISRA C Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)