![]() |
![]() |
0629 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.7 External Definitions - Constraints | ||||||
This is a constraint error The same object with internal linkage has been defined more than once. This can only happen when an object is declared more than once with the static storage-class specifier and an explicit initializer. For example:
/*PRQA S 553,1306,3207 ++*/
static int a; /* - tentative definition */
static int a; /* - tentative definition */
static int b; /* - tentative definition */
static int b = 1; /* - definition */
static int c = 0; /* - definition */
static int c = 1; /* Message 0629 - redefinition */
MISRA C:2012 Rules applicable to message 0629:
| 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 |