[Bug c++/35125] Violating standards

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 8 09:02:00 GMT 2008



------- Comment #6 from manu at gcc dot gnu dot org  2008-02-08 09:01 -------
(In reply to comment #5)
> As i know C++ doesn't support VLA. Please update me if i m wrong.

That is why it is an extension. There are many things that GCC supports and ISO
C++ doesn't. Read the GCC's manual for information about extensions [1] and
about -pedantic [2].

[1] http://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html#C-Extensions
[2] http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options

This is not a forum, if you need help using GCC, please ask in
gcc-help@gcc.gnu.org and not here. Thanks.


-- 


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



More information about the Gcc-bugs mailing list