aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/invoke.texi
diff options
context:
space:
mode:
authorredi <>2012-02-06 01:06:06 +0000
committerredi <>2012-02-06 01:06:06 +0000
commit61fa246ff22a7c37d8286d71f075e8068eef4881 (patch)
tree60f33426df8c19582ab99e59a428896c13a3766f /gcc/doc/invoke.texi
parente24bc8706bd972cbca4361487a27ade0514a6f55 (diff)
PR c++/48680
* doc/invoke.texi (C++ Dialect Options): Use @option markup for -Weffc++ and specify guidelines come from second edition.
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r--gcc/doc/invoke.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 610571063a8..6c61e53c172 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2437,7 +2437,7 @@ the compiler to never throw an exception.
Warn when a class has virtual functions and accessible non-virtual
destructor, in which case it would be possible but unsafe to delete
an instance of a derived class through a pointer to the base class.
-This warning is also enabled if -Weffc++ is specified.
+This warning is also enabled if @option{-Weffc++} is specified.
@item -Wreorder @r{(C++ and Objective-C++ only)}
@opindex Wreorder
@@ -2467,7 +2467,7 @@ The following @option{-W@dots{}} options are not affected by @option{-Wall}.
@opindex Weffc++
@opindex Wno-effc++
Warn about violations of the following style guidelines from Scott Meyers'
-@cite{Effective C++} book:
+@cite{Effective C++, Second Edition} book:
@itemize @bullet
@item