[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation problem when upgrading from g++ 3.3 to g++ 3.4
From: |
Maurizio Loreti |
Subject: |
Re: Compilation problem when upgrading from g++ 3.3 to g++ 3.4 |
Date: |
01 Oct 2004 11:47:27 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
"Alex Vinokur" <alexvn@big-foot.com> writes:
> Doo () {value_ = false;} // Line#10
Change this to : Boo<T>::value_ = false;
See The g++ 3.4.2 Release Notes
(http://gcc.gnu.org/gcc-3.4/changes.html), where they say: "In a
template definition, unqualified names will no longer find members of
a dependent base".
This behaviour is required by the Standard, IIRC in case you have more
specialized definitions of Boo<T>, each one with its particular
implementation, and different meaning/use of value_ .
--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Dept. of Physics, Univ. of Padova, Italy ROT13: ybergv@cq.vasa.vg