From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19363 invoked by alias); 15 May 2003 05:42:16 -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 19262 invoked by uid 48); 15 May 2003 05:42:13 -0000 Date: Thu, 15 May 2003 05:42:00 -0000 Message-ID: <20030515054213.19261.qmail@sources.redhat.com> To: austern@apple.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, austern@apple.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8076: -Wmissing-declarations is C-only, conflicts with documentation X-SW-Source: 2003-05/txt/msg01767.txt.bz2 List-Id: Synopsis: -Wmissing-declarations is C-only, conflicts with documentation State-Changed-From-To: open->closed State-Changed-By: bangerth State-Changed-When: Thu May 15 05:42:13 2003 State-Changed-Why: The C-only part has been fixed. Matt, I agree with Gaby that the -Wmissing-declarations is not very useful, since, for example, most of the STL is implemented in header files (using inline functions) that have no prior declaration. Regarding the other issue (misdeclaration): there's not much you can do in C++, because you can overload. So if a declaration doesn't match a definition or another declaration for the same name, that's not an error, but just declares a second function. There may be something that I don't see, but I think I would prefer if we had a separate bug report for this if you feel that there's something missing. Thanks Wolfgang http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8076