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/25504] -ansi -Wall should warn about variable-size arrays



------- Comment #1 from giles at xiph dot org  2005-12-20 18:22 -------
Created an attachment (id=10536)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10536&action=view)
example which should trigger the warning behavior

Here's an example which triggers the warning (or lack thereof) we ran into.

Also, for the record this is gcc from Ubuntu 5.10 "Breezy Badger" on x86,
$ gcc --version
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)


-- 


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


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