![]() |
![]() |
0621 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.5.7 Initialization - Constraints | ||||||
This is a constraint error This object cannot be initialized because it is a struct/union of incomplete type, i.e. its members and therefore its size have not been defined. For example:
/*PRQA S 553,679,2213,3207,3313 ++*/
static struct ST2 ast = {0}; /* Message 0621 (if ST2 is not defined) */
MISRA C:2012 Rules applicable to message 0621:
| 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 |
See also:
![]() | ||
| 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 |