This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pedantic
- To: jason at cygnus dot com
- Subject: Re: pedantic
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Sun, 8 Nov 1998 15:24:35 -0800
- CC: egcs at cygnus dot com
- References: <199811081904.LAA31358@yorick.cygnus.com>
- Reply-to: mark at markmitchell dot com
>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:
Jason> I'd like to be able to set the pedantic_errors flag without
Jason> setting pedantic, so that code that is using gratuitously
Jason> erroneous code that we still know how to handle can be an
Jason> error, but strict standards conformance is not enforced.
Jason> Thoughts?
I don't really see the point. We already have several dialects
(-ansi, -pedantic, and the -std= variants for C), plus minor
variations like -fwritable-strings. I'd like to see us move towards
relatively strict standards conformance, especially for C++, and
gradually remove the backwards compatibility code that allows
non-conforming code to compile.
Perhaps if you give an example motivating your proposal that would
help.
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com