![]() |
![]() |
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 */
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |