deriving template classes: gcc 3.4 complains

Gerald Pfeifer gerald@pfeifer.com
Wed Oct 1 18:52:00 GMT 2003


On Wed, 1 Oct 2003, Joachim Schoeberl wrote:
> test34.cpp: In constructor `derived<A>::derived(int)':
> test34.cpp:14: error: `i' undeclared (first use this function)
> test34.cpp:14: error: (Each undeclared identifier is reported only once
> for each function it appears in.)
>
> Is there something wrong with my code ?

I believe the third item under C++ at

  http://gcc.gnu.org/gcc-3.4/changes.html

might be relevant here.

Gerald
-- 
Gerald Pfeifer (Jerry)   gerald@pfeifer.com   http://www.pfeifer.com/gerald/



More information about the Gcc mailing list