From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9542 invoked by alias); 4 Aug 2002 11:16:03 -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 9521 invoked by uid 71); 4 Aug 2002 11:16:02 -0000 Date: Sun, 04 Aug 2002 04:16:00 -0000 Message-ID: <20020804111602.9520.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gabriel Dos Reis Subject: Re: c++/7484: warning with -Wmissing-declarations Reply-To: Gabriel Dos Reis X-SW-Source: 2002-08/txt/msg00064.txt.bz2 List-Id: The following reply was made to PR c++/7484; it has been noted by GNATS. From: Gabriel Dos Reis To: ib@wupperonline.de Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/7484: warning with -Wmissing-declarations Date: 04 Aug 2002 13:13:06 +0200 ib@wupperonline.de writes: [...] | >Description: | When using options -W and -Wmissing-declarations you get "cc1plus: warning: ignoring command line option" for -Wmissing-declarations, but there is no explanation in the doc, why you can't use -W and -Wmissing-declarations starting from gcc-3.1. I don't know why there is no documentation, but -Wmissing-declarations is meaningless in C++: you can't use a name if a declaration for it in not in scope. -- Gaby