------- 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 20060507".
>
>t.c:5: warning: format '%s' expects type 'char *', but argument 3 has type
>'char (*)[40]'
>
I've just recompiled 4.1.0 from the release tarball here -- I had no
4.1.0 build on this computer -- and I get the same message as you.

I reproduced the problem here with
version gcc 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

When I'll have time, I'll check the behaviour on the computer I was
using when I reported the problem.

Yours,


-- 


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

Reply via email to