![]() |
![]() |
0627 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.5 Declarations - Constraints | ||||||
This is a constraint error Two declarations of the same identifier in the same scope are in conflict. Note that it is possible and legitimate (although unwise) to hide an identifier with a different declaration at an inner scope. For example:
/*PRQA S 2211,2213,3205,3408,3447,3602 ++*/
enum ET {A, B, C};
typedef short A; /* Message 0627 and also 0631 */
extern int f2(void);
void foo(void)
{
typedef int figure;
long figure; /* Message 0627 and also 0631 */
}
void f2(void) /* Message 0627 */
{
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |