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: Questions about placement of qualifiers in member functions


"Giovanni Bajo" <giovannibajo@libero.it> writes:

> GCC is incorrectly accepting the first line. It should whine about the
> spourious const but it does not, and silently ignores it.

Thanks for the explanation.  It now makes sense to me.

I filed PR c++/13542 about the missing error.

Ian


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