News for hackers. Stuff that matters.
Re:Getting Past C by enriquto on Wednesday January 04, 2017 @03:50AM (#13316717)
What do you mean? Variable-length arrays are OK in C.
Re:Getting Past C by pjmlp on Wednesday January 04, 2017 @07:52AM (#13317815)
Not in C11, they were removed due to security issues and became an optional language feature.
Re:Getting Past C by awinter-py on Wednesday January 04, 2017 @07:48AM (#13317782)
oops -- you're right.

https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html

Legal in C99, available in C++ on gcc/clang.

Re:Getting Past C by pjmlp on Wednesday January 04, 2017 @07:55AM (#13317830)
Optional in C11, not accepted in ANSI C++17.