Variable declaration interpreted as function?

Lars Albertsson lalle@sics.se
Wed May 24 01:40:00 GMT 2000


> > Gcc 2.95.2 gives a more comprehensive error message, perhaps
> > indicating that the declaration of c is interpreted as a function
> > declaration.
> 
> Yep.  And it should be.  That's what the Standard says.

I see. Thanks for the correction. I must say the old error message
gave a better clue to what was going on, though. Perhaps there could
be a flag enabling more verbose error messages, in case the programmer
is confused by the output. It happens quite often.

/Lalle



More information about the Gcc-bugs mailing list