[previous] 0546 [next] [C] 'enum %s' has unknown content. Use of an enum tag with undefined content is not permitted.
Constraint violations REFERENCE - ISO:C90-6.5.2.3 Tags

This is a constraint error

An enumeration tag has been declared without specifying its content. For example:


/*PRQA S 3210,3211,3408,3447,3602 ++*/

enum ETAG ex;                       /* Message 0546 */

void foo(void)
{
}


MISRA C:2012 Rules applicable to message 0546:

Rule-1.1  (Required) The program shall contain no violations of the standard C syntax and constraints, and shall not exceed the implementation's translation limits


QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents