This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to warn on use of typename outside of templates
- To: mrs at wrs dot com
- Subject: Re: PATCH to warn on use of typename outside of templates
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Fri, 28 Aug 1998 13:58:04 -0700
- CC: egcs-bugs at cygnus dot com, jason at cygnus dot com
- References: <199808282049.NAA17025@kankakee.wrs.com>
- Reply-to: mark at markmitchell dot com
>>>>> "Mike" == Mike Stump <mrs@wrs.com> writes:
Mike> Sometimes people complain that g++ is too permissive. If
Mike> you buy into that then this should be just an error, if this
Mike> code is reliable.
I'm actually one of the ones that thinks g++ is too permissive.
That's why I didn't write `if (pedantic) cp_pedwarn (...)'. I'd be
happy to make this a hard error, but I was afraid of breaking existing
code. Maybe after 1.2, we could make this an error, having given
people a chance to fix their broken code.
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com