[Bug c/25504] -ansi -Wall should warn about variable-size arrays

2005-12-20 Thread giles at xiph dot org
--- Comment #4 from giles at xiph dot org 2005-12-20 18:46 --- I think you misunderstood. This is not about rejecting C99 code, this about warning about portability. I understand it is a C99 feature as well as an long-standing gnu extension, and -pedantic doesn't reject the progra

[Bug c/25504] -ansi -Wall should warn about variable-size arrays

2005-12-20 Thread giles at xiph dot org
--- 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 the

[Bug c/25504] New: -ansi -Wall should warn about variable-size arrays

2005-12-20 Thread giles at xiph dot org
ersion: 4.0.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: giles at xiph dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25504