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: implicit typename deprecated, "see documentation"


On Wed, Jun 11, 2003 at 01:42:12PM -0400, Paul Koning wrote:
>  >> 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

...
[ explanation deleted ]

Paul again:
> 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.

Agreed; the message sucks.  "implicit typename" is a compiler
implementer's concept.

A message like

filename.hh.556: warning: `foof' is a type, but has not been declared as a type
filename.hh.556: (missing `typename' keyword?)
filename.hh.556: This warning will become an error in future releases.

might be better.


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