This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs / g++ conflicts c++ draft standard (i think)
- To: jbuck at synopsys dot com
- Subject: Re: egcs / g++ conflicts c++ draft standard (i think)
- From: Martin von Loewis <loewis at informatik dot hu-berlin dot de>
- Date: Sat, 25 Jul 1998 13:09:13 +0200
- Cc: egcs at cygnus dot com
> (Perhaps it is time for g++ to allow only 'static', or to at least
> warn about other uses like this).
egcs-2.91.45 gives me
a.ii:3: warning: ANSI C++ forbids initialization of const member `qtd'
a.ii:3: warning: making `qtd' static
I think this is pretty close to giving good diagnostic, except that it
should say "ISO C++" instead, or, given my locale, "DIN C++" :-)
Martin