From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11633 invoked by alias); 16 May 2003 01:59:56 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 11595 invoked by uid 48); 16 May 2003 01:59:55 -0000 Date: Fri, 16 May 2003 01:59:00 -0000 Message-ID: <20030516015955.11594.qmail@sources.redhat.com> To: arthur.baldwin@gd-ais.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: giovannibajo@libero.it Reply-To: giovannibajo@libero.it, arthur.baldwin@gd-ais.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/10065: -pedantic has strange side effects; what is accepted in -std=c++98 X-SW-Source: 2003-05/txt/msg01823.txt.bz2 List-Id: 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