Incorrect C++ code or regression?
Pierre Chatelier
pierre.chatelier@club-internet.fr
Mon Jan 24 16:54:00 GMT 2005
> 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
More information about the Gcc
mailing list