This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
implicit typename deprecated, "see documentation"
- From: Andrew Haley <aph at redhat dot com>
- To: Paul Koning <pkoning at equallogic dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 18:35:01 +0100
- Subject: implicit typename deprecated, "see documentation"
- References: <16103.25899.63644.433806@pkoning.dev.equallogic.com>
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.