re PR c++/50757 (Cannot turn off -Wnonnull when using C++)

/gcc
2011-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/50757
	* c-family/c.opt ([Wnonnull]): Add C++ and Objective-C++.
	* doc/invoke.texi: Update.

/testsuite
2011-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/50757
	* g++.dg/warn/format7.C: New.
	* obj-c++.dg/warn7.mm: Likewise.

From-SVN: r180102
This commit is contained in:
Paolo Carlini 2011-10-17 17:49:06 +00:00
parent ef12edb597
commit 3e8f763093
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-10-17 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50757
* c-family/c.opt ([Wnonnull]): Add C++ and Objective-C++.
* doc/invoke.texi: Update.
2011-10-17 Richard Henderson <rth@redhat.com>
PR 50746