This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/7484: warning with -Wmissing-declarations


The following reply was made to PR c++/7484; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@integrable-solutions.net>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]