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. Release: gcc-3.1
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
State-Changed-From-To: open->closed State-Changed-Why: Fixed.