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: deriving template classes: gcc 3.4 complains


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/


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