Mike Hommey 8b49971d0c Avoid variable length arrays and remove declarations within code
MSVC doesn't support C99, and building as C++ to be able to use them is
dangerous, as C++ and C99 are incompatible.

Introduce a VARIABLE_ARRAY macro that either uses VLA when supported,
or alloca() otherwise. Note that using alloca() inside loops doesn't
quite work like VLAs, thus the use of VARIABLE_ARRAY there is discouraged.
It might be worth investigating ways to check whether VARIABLE_ARRAY is
used in such context at runtime in debug builds and bail out if that
happens.
2012-04-29 00:25:34 -07:00
..
2012-03-13 16:31:41 -07:00
2012-04-21 19:17:21 -07:00
2012-04-21 19:17:21 -07:00
2012-03-02 15:59:45 -08:00
2012-04-23 19:31:45 -07:00
2012-03-07 16:19:19 -08:00
2012-03-13 16:31:41 -07:00
2012-02-28 16:50:47 -08:00
2012-04-21 21:27:46 -07:00
2012-04-22 16:00:11 -07:00
2012-03-02 15:59:45 -08:00
2011-11-01 20:48:31 -07:00
2012-03-07 16:19:19 -08:00
2012-04-21 21:27:46 -07:00