[Bug c/27558] Wrong type in warning

2006-05-18 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27558

[Bug c/27558] Wrong type in warning

2006-05-15 Thread jm at bourguet dot org
--- Comment #4 from jm at bourguet dot org 2006-05-15 11:23 --- It could be target specific. I'm still having it on sparc: ~/src 12> cat bug.c #include void f(char* line) { char test_char[40]; sscanf(line, "%s", &test_char); } ~/src 13> gcc-4.1.0 -v -Wall -Wextra -c bug.c Re

[Bug c/27558] Wrong type in warning

2006-05-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-13 19:02 --- So this was fixed in 4.1.0 proper. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/27558] Wrong type in warning

2006-05-13 Thread jm at bourguet dot org
--- Comment #2 from jm at bourguet dot org 2006-05-13 11:40 --- Subject: Re: Wrong type in warning pinskia at gcc dot gnu dot org a écrit : >--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-11 15:55 >--- >I cannot reproduce this in "4.1.0 20060208" or "4.2.0 200605

[Bug c/27558] Wrong type in warning

2006-05-11 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-11 15:55 --- I cannot reproduce this in "4.1.0 20060208" or "4.2.0 20060507". t.c:5: warning: format '%s' expects type 'char *', but argument 3 has type 'char (*)[40]' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27558