implicit typename deprecated, "see documentation"

Andrew Haley aph@redhat.com
Wed Jun 11 17:42:00 GMT 2003


Paul Koning writes:
 > In testing a newer version (3.2.3) of gcc than we were using before, I
 > get this error message:
 > 
 > filename.hh: In member function .......:
 > filename.hh:556: warning: `typename ...' is implicitly a typename
 > filename.hh:556: warning: implicit typename is deprecated, please see the documentation for details
 > 
 > Ok, so what does this mean?  And what documentation am I supposed to
 > refer to for details?  Not the gcc documentation -- there's nothing in
 > there that describes this message.

It means your code is incorrect.  This is in the C++ language spec,
nothing to do with g++.

See http://gcc.gnu.org/ml/gcc/2002-08/msg00010.html.

Andrew.



More information about the Gcc mailing list