There is one mention of -Wdeprecated in the manual, but it is not documented anywhere.
Confirmed, I thought I saw this somewhere else too but I cannot find it right now.
Subject: Re: New: -Wdeprecated is not documented On Fri, 29 Dec 2006, tromey at gcc dot gnu dot org wrote: > There is one mention of -Wdeprecated in the manual, but it is > not documented anywhere. It's documented as -Wno-deprecated; the introduction to invoke.texi says "This manual documents only one of these two forms, whichever one is not the default."
Sorry, I forgot all about that. It would be convenient if the manual had an @optindex for both spellings. That way I could use the index to jump to the docs for any option, not just non-default options.
patch for -Wfoo/-Wno-foo posted at <http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00069.html>.
Subject: Bug 30330 Author: gerald Date: Tue Feb 5 23:13:17 2008 New Revision: 132131 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132131 Log: PR documentation/30330 * doc/invoke.texi (C++ Dialect Options) (Objective-C and Objective-C++ Dialect Options, Warning Options): For each warning option -Wfoo that allows -Wno-foo, ensure both -Wfoo and -Wno-foo are listed in the option index. Fix index entry of -Wswitch-default, index -Wnormalized= including the `=', and -Wlarger-than-@var{len} including @var{len}. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi
This is FIXED in GCC 4.4