[previous] MISRA C:2012  Rule-8.12:  (Required) [next] Within an enumerator list, the value of an implicitly-specified enumeration constant shall be unique

Example Code:


#pragma PRQA_MESSAGES_OFF 1056

#include "misra.h"
#include "m3cmex.h"

enum T1 { A1=3, A2, A3, A4=5 };                 /*      */
enum T2 { B1=2, B2=0, B3, B4 };                 /*      */



No QAC messages cover this rule.



(c) The Motor Industry Research Association, 2012
QA C Source Code Analyser 8.1.2
MISRA C:2012 Compliance Module 1.0
© 2013 Programming Research
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents