From: redi Date: Mon, 6 Feb 2012 01:06:06 +0000 (+0000) Subject: PR c++/48680 X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=0737bc6a1bd08ade67a9f93d7abb1b1f1f16a634 PR c++/48680 * doc/invoke.texi (C++ Dialect Options): Use @option markup for -Weffc++ and specify guidelines come from second edition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183926 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 13d324c1721..072fc3c3766 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-02-06 Jonathan Wakely + + 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 * config/mips/mips.md (sibcall_internal, sibcall_value_internal) 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