This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13123] -Wformat doesn't detect printf() format mismatches in C++ code
- From: "jthorn at aei dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2003 14:01:19 -0000
- Subject: [Bug c++/13123] -Wformat doesn't detect printf() format mismatches in C++ code
- References: <20031119121137.13123.jthorn@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jthorn at aei dot mpg dot de 2003-11-19 14:01 -------
Created an attachment (id=5169)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5169&action=view)
compiler command line, -v output, and warning message for gcc -v -save-temps
-c -Wformat foo.c
Compiling this source file as C (/usr/local/bin/gcc) -Wformat
correctly warns about the printf() format mismatch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13123