From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28482 invoked by alias); 17 Feb 2002 17:24:38 -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 28440 invoked by uid 61); 17 Feb 2002 17:24:37 -0000 Date: Sun, 17 Feb 2002 09:24:00 -0000 Message-ID: <20020217172437.28439.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rhu@tk.eq.gs.com From: rodrigc@gcc.gnu.org Reply-To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rhu@tk.eq.gs.com, gcc-gnats@gcc.gnu.org X-Mailer: gnatsweb 2.9.3 Subject: Re: c++/5685: g++ 3.0.2 allows multiple identical declaration of default argument X-SW-Source: 2002-02/txt/msg00388.txt.bz2 List-Id: Synopsis: g++ 3.0.2 allows multiple identical declaration of default argument State-Changed-From-To: open->analyzed State-Changed-By: rodrigc State-Changed-When: Sun Feb 17 09:24:36 2002 State-Changed-Why: You are right, this should be an error, according to [8.3.6]. If you compile with the -pedantic switch, you will get a warning, but this should still be an error. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5685