invoke.texi (C++ Dialect Options): Add missing options and move -Wzero-as-null-pointe...
authorJonathan Wakely <jwakely.gcc@gmail.com>
Thu, 22 Dec 2011 17:52:36 +0000 (17:52 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 22 Dec 2011 17:52:36 +0000 (17:52 +0000)
2011-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

* doc/invoke.texi (C++ Dialect Options): Add missing options and
move -Wzero-as-null-pointer-constant to ...
(Warning Options): ... here.

From-SVN: r182631

gcc/ChangeLog
gcc/doc/invoke.texi

index 4788efa..8e7d8e5 100644 (file)
@@ -1,5 +1,11 @@
 2011-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
+       * doc/invoke.texi (C++ Dialect Options): Add missing options and
+       move -Wzero-as-null-pointer-constant to ...
+       (Warning Options): ... here.
+
+2011-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
        PR target/47643
        * doc/invoke.texi (i386 and x86-64 Options): Fix description of
        -mtune without -march.
index c779d27..f8dad6c 100644 (file)
@@ -196,11 +196,12 @@ in the following sections.
 -fno-default-inline  -fvisibility-inlines-hidden @gol
 -fvisibility-ms-compat @gol
 -Wabi  -Wconversion-null  -Wctor-dtor-privacy @gol
--Wnoexcept -Wnon-virtual-dtor  -Wreorder @gol
+-Wdelete-non-virtual-dtor -Wnarrowing -Wnoexcept @gol
+-Wnon-virtual-dtor  -Wreorder @gol
 -Weffc++  -Wstrict-null-sentinel @gol
 -Wno-non-template-friend  -Wold-style-cast @gol
 -Woverloaded-virtual  -Wno-pmf-conversions @gol
--Wsign-promo -Wzero-as-null-pointer-constant}
+-Wsign-promo}
 
 @item Objective-C and Objective-C++ Language Options
 @xref{Objective-C and Objective-C++ Dialect Options,,Options Controlling
@@ -272,7 +273,7 @@ Objective-C and Objective-C++ Dialects}.
 -Wno-unused-result -Wunused-value @gol -Wunused-variable @gol
 -Wunused-but-set-parameter -Wunused-but-set-variable @gol
 -Wvariadic-macros -Wvector-operation-performance -Wvla 
--Wvolatile-register-var  -Wwrite-strings}
+-Wvolatile-register-var  -Wwrite-strings -Wzero-as-null-pointer-constant}
 
 @item C and Objective-C-only Warning Options
 @gccoptlist{-Wbad-function-cast  -Wmissing-declarations @gol