06-06-2014, 07:17 AM
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