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)
commit3e8f763093ca87b56616ebef3ee3d194af8c9fcb
treec24b89eb277e1cef4fe9107cbbf3311bf6cbd4c5
parentef12edb597a61bc12b65afed5c00ca71bf49605c
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
gcc/ChangeLog