public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15657] New: -wall incorrectly diagnoses scanf("%a")
@ 2004-05-26 14:19 paulmoore100 at hotmail dot com
  2004-05-26 14:24 ` [Bug c/15657] -Wformat diagnostic confusing pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: paulmoore100 at hotmail dot com @ 2004-05-26 14:19 UTC (permalink / raw)
  To: gcc-bugs

3.3.1 (suse 9) 3.2.2 (red hat9) 
#include<stdio.h>
void f()
{
 char *s=0;
 scanf("%a", &s);
}

cc -Wall on this incorrectly produces "float format, pointer arg(arg2)"
it should say "invalid or incomplete format" or something like that

-- 
           Summary: -wall incorrectly diagnoses scanf("%a")
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: paulmoore100 at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15657


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-05-26 23:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-26 14:19 [Bug c/15657] New: -wall incorrectly diagnoses scanf("%a") paulmoore100 at hotmail dot com
2004-05-26 14:24 ` [Bug c/15657] -Wformat diagnostic confusing pinskia at gcc dot gnu dot org
2004-05-26 14:38 ` jsm at polyomino dot org dot uk
2004-05-26 17:28 ` pinskia at gcc dot gnu dot org
2004-05-27 10:42 ` paulmoore100 at hotmail dot com
2004-05-27 10:48 ` pinskia at gcc dot gnu dot org
2004-05-27 11:42 ` paulmoore100 at hotmail dot com
2004-05-27 14:45 ` jsm at polyomino dot org dot uk
2004-05-27 15:59 ` pinskia at gcc dot gnu dot org

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).