This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50757] Cannot turn off -Wnonnull when using C++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]