This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
man page typo
- From: Mike Stump <mrs at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 14 Aug 2006 15:07:44 -0700
- Subject: man page typo
This fixes the manual page from:
Do not warn about uses of functions, variables, and types marked as
deprecated by using
the "deprecated" attribute. (@pxref{Function Attributes}, @pxref
{Variable Attributes},
@pxref{Type Attributes}.)
to:
Do not warn about uses of functions, variables, and types marked as
deprecated by using
the "deprecated" attribute.
and the html page from:
Do not warn about uses of functions, variables, and types marked as
deprecated by using the
deprecated attribute. (see Function Attributes, see Variable
Attributes, see Type Attributes.)
to:
Do not warn about uses of functions (see Function Attributes),
variables (see Variable
Attributes), and types (see Type Attributes) marked as deprecated
by using the deprecated
attribute.
Likewise:
If -MD is used in conjunction with -E, any -o switch is understood
to specify the dependency
output file (but @pxref{dashMF,,-MF}), but if used without -E, each
-o is understood to specify
a target object file.
is transformed to:
If -MD is used in conjunction with -E, any -o switch is understood
to specify the dependency
output file, but if used without -E, each -o is understood to
specify a target object file.
in the manual page, and:
If -MD is used in conjunction with -E, any -o switch is understood
to specify the dependency
output file (but see -MF), but if used without -E, each -o is
understood to specify a target
object file.
is transformed to:
If -MD is used in conjunction with -E, any -o switch is understood
to specify the dependency
output file (see -MF), but if used without -E, each -o is
understood to specify a target
object file.
in the html.
Ok? Anyway want to weigh in if they think this is obvious?
* doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
* cppopts.texi (-MD): Likewise.
Doing diffs in doc:
--- doc/cppopts.texi.~1~ 2006-01-27 14:54:02.000000000 -0800
+++ doc/cppopts.texi 2006-08-14 14:53:40.000000000 -0700
@@ -305,7 +305,7 @@ basename of the input file and applies a
If @option{-MD} is used in conjunction with @option{-E}, any
@option{-o} switch is understood to specify the dependency output file
-(but @pxref{dashMF,,-MF}), but if used without @option{-E}, each
@option{-o}
+(@pxref{dashMF,,-MF}), but if used without @option{-E}, each @option{-
o}
is understood to specify a target object file.
Since @option{-E} is not implied, @option{-MD} can be used to generate
--- doc/invoke.texi.~1~ 2006-08-14 12:11:58.000000000 -0700
+++ doc/invoke.texi 2006-08-14 14:36:56.000000000 -0700
@@ -3291,10 +3291,10 @@ unable to be fixed to display these char
@item -Wno-deprecated-declarations
@opindex Wno-deprecated-declarations
-Do not warn about uses of functions, variables, and types marked as
-deprecated by using the @code{deprecated} attribute.
-(@pxref{Function Attributes}, @pxref{Variable Attributes},
-@pxref{Type Attributes}.)
+Do not warn about uses of functions (@pxref{Function Attributes}),
+variables (@pxref{Variable Attributes}), and types (@pxref{Type
+Attributes}) marked as deprecated by using the @code{deprecated}
+attribute.
@item -Wno-overflow
@opindex Wno-overflow
--------------