--- 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 program, it j
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-20 18:26 ---
This is not really a bug:
-ansi
In C mode, support all ISO C90 programs. In C++ mode, remove GNU
extensions that
conflict with ISO C++.
The -ansi option does not cause non-I
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-20 18:23 ---
I should note that variable-sized arrays are part of C99.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25504
--- 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