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]

Re: pedantic


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


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