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

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
This commit is contained in:
Jonathan Wakely 2011-12-22 17:52:36 +00:00 committed by Jonathan Wakely
parent d7816baac9
commit 1f653d0bb0
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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

View 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