public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/13070] New: [3.3 / 3.4 regression] -Wformat option ignored in g++ Date: Sun, 16 Nov 2003 12:33:00 -0000 [thread overview] Message-ID: <20031116123347.13070.debian-gcc@lists.debian.org> (raw) [ forwarded from http://bugs.debian.org/217075 ] The warning is printed, if gcc is used, but not, if g++ is used. I'm confused about the -Wformat behaviour in newer g++ 3.3 releases. It works for plain C, but seems to be ignored for C++ (in some cases at least). Look at this: egon@tuscan:~$ cat testik.cc #include <stdio.h> int main() { printf("%d\n", 1, 1); } egon@tuscan:~$ g++-3.2 -Wformat testik.cc testik.cc: In function `int main()': testik.cc:5: warning: too many arguments for format egon@tuscan:~$ g++-3.3 -Wformat testik.cc egon@tuscan:~$ -- Summary: [3.3 / 3.4 regression] -Wformat option ignored in g++ Product: gcc Version: 3.3.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13070
next reply other threads:[~2003-11-16 12:33 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-11-16 12:33 debian-gcc at lists dot debian dot org [this message] 2003-11-16 15:19 ` [Bug c++/13070] [3.3/3.4 " pinskia at gcc dot gnu dot org 2003-11-19 16:12 ` pinskia at gcc dot gnu dot org 2003-12-10 22:57 ` janis187 at us dot ibm dot com 2003-12-21 21:30 ` pinskia at gcc dot gnu dot org 2003-12-24 22:07 ` gdr at gcc dot gnu dot org 2003-12-26 13:45 ` pinskia at gcc dot gnu dot org 2003-12-28 23:02 ` cvs-commit at gcc dot gnu dot org 2003-12-28 23:14 ` [Bug c++/13070] [3.3 " pinskia at gcc dot gnu dot org 2003-12-29 8:14 ` cvs-commit at gcc dot gnu dot org 2003-12-29 8:30 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20031116123347.13070.debian-gcc@lists.debian.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).