This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50757] Cannot turn off -Wnonnull when using C++
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Oct 2011 17:44:47 +0000
- Subject: [Bug c++/50757] Cannot turn off -Wnonnull when using C++
- Auto-submitted: auto-generated
- References: <bug-50757-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50757
--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-17 17:44:47 UTC ---
Author: paolo
Date: Mon Oct 17 17:44:42 2011
New Revision: 180101
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180101
Log:
/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.
Added:
trunk/gcc/testsuite/g++.dg/warn/format7.C
trunk/gcc/testsuite/obj-c++.dg/warn7.mm
Modified:
trunk/gcc/c-family/c.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog