![]() |
![]() |
0668 | ![]() |
||||
![]() | |||||||
| Explicitly undefined | REFERENCE - ISO:C90-6.5.6 Type Definitions - Semantics | ||||||
An identifier which has been declared as a typedef, is being redeclared as a member of a struct or union without using an explicit type specifier. This is not permitted. For example:
/*PRQA S 781,783,2017,3205,3408,3602 ++*/
typedef int X;
extern void foo(void)
{
const int X = 0; /* Message 3334 */
struct ST
{
const X; /* Message 0668 */
int y;
};
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |