implicit typename deprecated, "see documentation"
Paul Koning
pkoning@equallogic.com
Wed Jun 11 18:04:00 GMT 2003
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Andrew> 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.
Andrew> It means your code is incorrect.
Naturally I understood that much. The point of my question was
"in what way is it incorrect and how do I fix it?"
Andrew> This is in the C++ language
Andrew> spec, nothing to do with g++.
Andrew> See http://gcc.gnu.org/ml/gcc/2002-08/msg00010.html.
That may help. Thanks.
Meanwhile, it doesn't make any sense for the message to refer to "the
documentation". That term is ambiguous, but the natural reading is
"the gcc documentation" and it contains no answers.
paul
More information about the Gcc
mailing list