Redeclaration of used symbols

Gabriel Dos Reis gdr@integrable-solutions.net
Sun Sep 7 19:07:00 GMT 2003


Jan Hubicka <hubicka@ucw.cz> writes:

| Hi,
| We currently accept the following testcase:
| 
| t()
| {
| }
| static int t();

The C++ front-end has a warning for this
(warn_extern_redeclared_static), you might want to look at it.  (Which
makes me a bit nervous about the code duplication going on both sides
of C and C++ front-ends). 

-- Gaby



More information about the Gcc mailing list