From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21692 invoked by alias); 16 Jan 2004 18:09:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21683 invoked by uid 48); 16 Jan 2004 18:09:30 -0000 Date: Fri, 16 Jan 2004 18:09:00 -0000 Message-ID: <20040116180930.21682.qmail@sources.redhat.com> From: "mmitchel at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040110230839.13641.bugzilla.gcc@rtij.nl> References: <20040110230839.13641.bugzilla.gcc@rtij.nl> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13641] [3.4 Regression] calling main: standard requires diagnostic, but diagnostic only with --pedantic X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01894.txt.bz2 List-Id: ------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-01-16 18:09 ------- This is not a bug. There are lots of constraint violations that we do not give errors about unless -pedantic is specified. (For example, declaring an array "int a[0]" is accepted unless -pedantic is specified.) There is no non-uniformity between addressing and calling; we do not warn about either case without -pedantic, and we warn about both cases with -pedantic. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13641