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++/35125] Violating standards



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-02-07 15:22 -------
VLA in C++ is an extension, if you use -pedantic, you will get an error.

Also VLA uses the value at the time at definition and no other value after
wards.


-- 


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


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