This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redeclaration of used symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]