This is the mail archive of the gcc-bugs@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]

Re: Variable declaration interpreted as function?



> > 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


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