I don't know why, but this-> doesn't work. Base::xxx does work. ---- Lev Assinovsky Aelita Software Corporation (now is a part of Quest Software) O&S InTrust Framework Division, Team Leader ICQ# 165072909 > -----Original Message----- > From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx]On > Behalf Of Florian Weimer > Sent: Wednesday, June 09, 2004 4:41 PM > To: Laurent Marzullo > Cc: gcc-help@xxxxxxxxxxx > Subject: Re: Inherite from template witth gcc 3.4 > > > * Laurent Marzullo: > > > I should specify, explicitly, MyClass<_type>::m_value for > the program > > to compile. Why should I specify the base class for accessing this > > member ? > > You don't have to specify the base class, using "this->" is quite > enough. GCC 3.4 requires C++ programs to conform more closely to the > standard, and the issue you spotted is a consequence. > > -- > Current mail filters: many dial-up/DSL/cable modem hosts, and the > following domains: bigpond.com, di-ve.com, fuorissimo.com, > hotmail.com, > jumpy.it, libero.it, netscape.net, postino.it, simplesnet.pt, > spymac.com, > tiscali.co.uk, tiscali.cz, tiscali.it, voila.fr, yahoo.com. >