Menu

#2 duplicate variable declarations

open
nobody
None
5
2003-01-14
2003-01-14
No

ANSI-C allows duplicate variable declarations, but ctool
complains about this, e.g.:

extern int test;
int test;

/tmp/aa.c:2: Symbol name duplicated: test:
int test;
^

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.