![]() |
![]() |
0630 | ![]() |
||||
![]() | |||||||
| Explicitly undefined | REFERENCE - ISO:C90-6.7 External Definitions - Semantics | ||||||
A global object or function has been defined more than once. It is possible to have multiple declarations, but there should only ever be one definition. Multiple definitions are not allowed, even if the definitions are identical. For example:
/*PRQA S 2017,3211,3408 ++*/
int number=1;
/* ... */
int number=1; /* Message 0630 */
extern void foo(void)
{
}
extern void foo(void) /* Message 0630 */
{
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |