This is the mail archive of the gcc-bugs@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]

Re: PATCH to warn on use of typename outside of templates


>>>>> "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


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