c++/10065: -pedantic has strange side effects; what is accepted in -std=c++98

giovannibajo@libero.it giovannibajo@libero.it
Fri May 16 03:56:00 GMT 2003


Synopsis: -pedantic has strange side effects; what is accepted in -std=c++98

State-Changed-From-To: analyzed->closed
State-Changed-By: bajo
State-Changed-When: Fri May 16 01:59:54 2003
State-Changed-Why:
    Can't see a reason to keep this open. The problem with
    -pedantic converting errors to warning is already handled
    in c++/10032.
    Variable sized array are not supposed to be disabled with
    -ansi or -std=c++98 because they can't possibly conflict
    with well-formed ISO programs. The official way to disable
    extension is to use -pedantic, and -pedantic correctly
    reports a warning about it.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10065



More information about the Gcc-bugs mailing list