This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/33024] gcc allows negatively-sized arrays



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-08-08 17:25 -------
On i686-apple-darwin, I get the following warning:
t.c:8: warning: format '%d' expects type 'int', but argument 2 has type 'long
unsigned int'


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]