Bug 30330 - -Wdeprecated is not documented
Summary: -Wdeprecated is not documented
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: driver (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2006-12-29 21:59 UTC by Tom Tromey
Modified: 2008-08-06 18:36 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-12-30 00:55:28


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2006-12-29 21:59:18 UTC
There is one mention of -Wdeprecated in the manual, but it is
not documented anywhere.
Comment 1 Andrew Pinski 2006-12-30 00:55:28 UTC
Confirmed, I thought I saw this somewhere else too but I cannot find it right now.
Comment 2 jsm-csl@polyomino.org.uk 2006-12-31 19:21:34 UTC
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."

Comment 3 Tom Tromey 2007-01-01 00:34:01 UTC
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.
Comment 4 Ralf Wildenhues 2008-02-03 23:19:48 UTC
patch for -Wfoo/-Wno-foo posted at
<http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00069.html>.
Comment 5 gerald@gcc.gnu.org 2008-02-05 23:14:02 UTC
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

Comment 6 Manuel López-Ibáñez 2008-08-06 18:36:01 UTC
This is FIXED in GCC 4.4