http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58973
Bug ID: 58973
Summary: Small english manpage grammar fixes
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: culu.gyx at gmail dot com
Hello,
As seen in 2925 / 2930 of ./gcc/doc/invoke.texi (among other places):
The phrase "Make all warnings into errors." could be better said as
"Turn all warnings into errors." or similar. The phrasing seems a skitch
awkward.
(The same applies to documents in 4.7, 4.6, 4.4, maybe other branches, too.)
The original bug report is at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700476
Below is a patch:
--- gcc-doc.orig/gcc/doc/cppopts.texi
+++ gcc-doc/gcc/doc/cppopts.texi
@@ -160,7 +160,7 @@ in older programs. This warning is on b
@item -Werror
@opindex Werror
-Make all warnings into hard errors. Source code which triggers warnings
+Turn all warnings into hard errors. Source code which triggers warnings
will be rejected.
@item -Wsystem-headers
--- gcc-doc.orig/gcc/doc/invoke.texi
+++ gcc-doc/gcc/doc/invoke.texi
@@ -3016,12 +3016,12 @@ Inhibit all warning messages.
@item -Werror
@opindex Werror
@opindex Wno-error
-Make all warnings into errors.
+Turn all warnings into errors.
@item -Werror=
@opindex Werror=
@opindex Wno-error=
-Make the specified warning into an error. The specifier for a warning
+Turn the specified warning into an error. The specifier for a warning
is appended; for example @option{-Werror=switch} turns the warnings
controlled by @option{-Wswitch} into errors. This switch takes a
negative form, to be used to negate @option{-Werror} for specific
Regards,
GUO Yixuan