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 #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-17 12:33:41 UTC ---
Could be fixed by adding C++ and ObjC++ to the Wnonnull definition in
c-family/c.opt, or by adjusting the warning() in c-family/c-common.c to use
Wformat when compiling C++


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