re PR c++/50757 (Cannot turn off -Wnonnull when using C++)
authorPaolo Carlini <paolo@gcc.gnu.org>
Mon, 17 Oct 2011 17:49:06 +0000 (17:49 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 17 Oct 2011 17:49:06 +0000 (17:49 +0000)
/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

gcc/ChangeLog

index 5524cb0..1c0ddaa 100644 (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