This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31843] New: -Wformat-nonliteral differs between gcc and g++
- From: "gcc at gaul dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2007 07:09:58 -0000
- Subject: [Bug c++/31843] New: -Wformat-nonliteral differs between gcc and g++
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ gcc -dumpversion
4.1.1
$ g++ -dumpversion
4.1.1
$ gcc -Wall -Wformat-nonliteral format_nonliteral.c
$ g++ -Wall -Wformat-nonliteral format_nonliteral.c
format_nonliteral.c: In function ?int main(int, char**)?:
format_nonliteral.c:10: warning: format not a string literal, argument types
not checked
--
Summary: -Wformat-nonliteral differs between gcc and g++
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at gaul dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31843