MISRAC2004-1.1
In this section:
Synopsis
(Required) All code shall conform to ISO 9899 standard, with no extensions permitted.
Enabled by default
Yes
Severity/Certainty
Medium/Medium

Full description
Code was found that does not conform to the ISO/IEC 9899:1990 standard.
Coding standards
- MISRA C:2004 1.1
(Required) All code shall conform to ISO 9899 standard, with no extensions permitted.
Code examples
The following code example fails the check and will give a warning:
struct { int i; }; /* Does not declare anything */
The following code example passes the check and will not give a warning about this issue:
struct named { int i; };