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++/17212] -W(no)format-zero-length does not work with C++


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17212

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-14 09:15:02 UTC ---
Author: paolo
Date: Fri Oct 14 09:14:58 2011
New Revision: 179964

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179964
Log:
/gcc
2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/17212
    * c-family/c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
    * doc/invoke.texi: Update.

/testsuite
2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/17212
    * g++.dg/warn/format6.C: New.
    * obj-c++.dg/warn6.mm: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog


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