This is the mail archive of the gcc-prs@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: c++/5500: public typedefs in inner classes do not work


The following reply was made to PR c++/5500; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: dean@av8.net
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/5500: public typedefs in inner classes do not work
Date: Sat, 26 Jan 2002 18:06:05 -0500

 In gcc 3.1 the cvs version with a date of 20020122, I get:
 
 In file included from x.cxx:2:
 x.h:46: warning: `typename C<T>::InnerC::const_reference' is implicitly 
 a typename
 x.h:46: warning: implicit typename is deprecated, please see the 
 documentation for details
 In file included from x.h:54,
                   from x.cxx:2:
 x.inl:16: warning: `typename C<T>::InnerC::const_reference' is 
 implicitly a typename
 x.inl:16: warning: implicit typename is deprecated, please see the 
 documentation for details
 x.inl:38: warning: `typename C<T>::InnerC::const_reference' is 
 implicitly a typename
 x.inl:38: warning: implicit typename is deprecated, please see the 
 documentation for details
 
 but it compiles with these warnings.
 
 Thanks,
 Andrew Pinski
 


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