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:Incorrect C++ code or regression?


Can somebody tell me if it because the code is illegal, and GCC 3.4.3's stricter parser now rejects it, or is it some kind of regression?

foo.cxx:53: error: `_wn' undeclared (first use this function)

This is not a regression, but an improvement. You have to precise "this->_wn" to make it work.


It is about dependant names, for which you will find an explanation here : http://gcc.gnu.org/gcc-3.4/changes.html#3.4.3

Regards,

Pierre Chatelier


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