This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17212] -W(no)format-zero-length does not work with C++
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Oct 2011 02:00:07 +0000
- Subject: [Bug c++/17212] -W(no)format-zero-length does not work with C++
- Auto-submitted: auto-generated
- References: <bug-17212-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17212
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC|gcc-bugs at gcc dot gnu.org |
AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot
|gnu.org |com
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-13 02:00:07 UTC ---
This should be really fixed: the actual warning code exists in C++ too, is part
of -Wformat, and when it triggers it talks about [-Wformat-zero-length]!