From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4217 invoked by alias); 7 May 2004 16:24:17 -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 4180 invoked from network); 7 May 2004 16:24:16 -0000 Received: from unknown (HELO uniton.integrable-solutions.net) (62.212.99.186) by sources.redhat.com with SMTP; 7 May 2004 16:24:16 -0000 Received: from uniton.integrable-solutions.net (localhost [127.0.0.1]) by uniton.integrable-solutions.net (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id i47F8D9b023714; Fri, 7 May 2004 17:08:13 +0200 Received: (from gdr@localhost) by uniton.integrable-solutions.net (8.12.3/8.12.3/Submit) id i47F8CuD023713; Fri, 7 May 2004 17:08:12 +0200 X-Authentication-Warning: uniton.integrable-solutions.net: gdr set sender to gdr@integrable-solutions.net using -f To: gcc-bugzilla@gcc.gnu.org Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug c++/15339] function call error References: <20040507150259.15339.MichaelLi8195@hotmail.com> <20040507153720.31677.qmail@sources.redhat.com> From: Gabriel Dos Reis In-Reply-To: <20040507153720.31677.qmail@sources.redhat.com> Organization: Integrable Solutions Date: Fri, 07 May 2004 16:24:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-05/txt/msg00736.txt.bz2 List-Id: "bangerth at dealii dot org" writes: | Actually, that was easy. 8.3.6/4 specificly says | For non-template functions, default arguments can be added in later | declarations. | | So the code is invalid. Yes, you're right. But we should be diagnosing the declaration in the first place -- which we fail. So there is an issue here, but not that one the submitter thought about. -- Gaby