![]() |
![]() |
0631 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.5 Declarations - Constraints | ||||||
This is a constraint error An ordinary identifier has been declared more than once. This is not permitted unless the identifier has linkage. For example:
/*PRQA S 2211,2213,3205,3210,3408,3447,3602 ++*/
extern int g;
extern int g;
void foo(void)
{
int a;
int a; /* Message 0631 */
int b;
long b; /* Message 0631 and also 0627 */
typedef int T;
typedef int T; /* Message 0631 */
enum et1 {A, B, C};
enum et2 {A, X, Y}; /* Message 0631 */
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |