public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15125] New: [3.3/3.4 regression] g++ -Wformat doesn't warn for different types in fprintf
@ 2004-04-25 11:15 debian-gcc at lists dot debian dot org
2004-04-25 13:52 ` [Bug c++/15125] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
2004-04-25 15:37 ` giovannibajo at libero dot it
0 siblings, 2 replies; 3+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-04-25 11:15 UTC (permalink / raw)
To: gcc-bugs
[forwarded from http://bugs.debian.org/243507]
regression from 3.2
#include <stdio.h>
int main()
{
fprintf(stdout, "%f\n", 0);
fprintf(stdout, "%f\n", 0.0);
return 0;
}
$ gcc -Wall -W test.c
test.c: In function `main':
test.c:5: warning: double format, different type arg (arg 3)
$ g++ -Wall -W test.c
$
--
Summary: [3.3/3.4 regression] g++ -Wformat doesn't warn for
different types in fprintf
Product: gcc
Version: 3.4.0
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=15125
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/15125] [3.3/3.4/3.5 regression] g++ -Wformat doesn't warn for different types in fprintf
2004-04-25 11:15 [Bug c++/15125] New: [3.3/3.4 regression] g++ -Wformat doesn't warn for different types in fprintf debian-gcc at lists dot debian dot org
@ 2004-04-25 13:52 ` pinskia at gcc dot gnu dot org
2004-04-25 15:37 ` giovannibajo at libero dot it
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-25 13:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-25 13:35 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |roger at eyesopen dot com
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Known to fail| |3.4.0 3.5.0 3.3.3 3.3.1
Known to work| |3.2.3
Last reconfirmed|0000-00-00 00:00:00 |2004-04-25 13:35:39
date| |
Summary|[3.3/3.4 regression] g++ - |[3.3/3.4/3.5 regression] g++
|Wformat doesn't warn for |-Wformat doesn't warn for
|different types in fprintf |different types in fprintf
Target Milestone|--- |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15125
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/15125] [3.3/3.4/3.5 regression] g++ -Wformat doesn't warn for different types in fprintf
2004-04-25 11:15 [Bug c++/15125] New: [3.3/3.4 regression] g++ -Wformat doesn't warn for different types in fprintf debian-gcc at lists dot debian dot org
2004-04-25 13:52 ` [Bug c++/15125] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
@ 2004-04-25 15:37 ` giovannibajo at libero dot it
1 sibling, 0 replies; 3+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-25 15:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-04-25 15:31 -------
*** This bug has been marked as a duplicate of 14791 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15125
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-25 15:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-25 11:15 [Bug c++/15125] New: [3.3/3.4 regression] g++ -Wformat doesn't warn for different types in fprintf debian-gcc at lists dot debian dot org
2004-04-25 13:52 ` [Bug c++/15125] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
2004-04-25 15:37 ` giovannibajo at libero dot it
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).