aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2012-02-06 01:06:06 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2012-02-06 01:06:06 +0000
commit9039ea919d370f3c4a318ecbf1d9e9cc1d64a0d0 (patch)
tree60f33426df8c19582ab99e59a428896c13a3766f
parentbc90b801086cd11ffc9affb4df63573ef181f60c (diff)
downloadgcc-9039ea919d370f3c4a318ecbf1d9e9cc1d64a0d0.zip
gcc-9039ea919d370f3c4a318ecbf1d9e9cc1d64a0d0.tar.gz
gcc-9039ea919d370f3c4a318ecbf1d9e9cc1d64a0d0.tar.bz2
re PR c++/48680 (-Weffc++ update description for 2nd and 3rd edition of Scott Meyers)
PR c++/48680 * doc/invoke.texi (C++ Dialect Options): Use @option markup for -Weffc++ and specify guidelines come from second edition. From-SVN: r183926
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 13d324c..072fc3c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-06 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ PR c++/48680
+ * doc/invoke.texi (C++ Dialect Options): Use @option markup for
+ -Weffc++ and specify guidelines come from second edition.
+
2012-02-05 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.md (sibcall_internal, sibcall_value_internal)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 6105710..6c61e53 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