Code

configure: Do not warn about variable length arrays.
authorSebastian Harl <sh@tokkee.org>
Sat, 1 May 2010 20:28:27 +0000 (22:28 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 1 May 2010 20:28:27 +0000 (22:28 +0200)
This is a cool new feature of C99, actually, so I don't know why I've added
that warning in the first place … ;-)

configure.ac

index 26bfa8a0d49cce4482a3d7676248ee06dc71b973..22214b49d3f15d77d885fa2200f91bda1d018e10 100644 (file)
@@ -164,8 +164,7 @@ if test "x$enable_strict_checks" = "xyes"; then
                        -Wpointer-arith \
                        -Wshadow \
                        -Wstrict-prototypes \
-                       -Wunreachable-code \
-                       -Wvla; do
+                       -Wunreachable-code; do
                AC_MSG_CHECKING([whether $CC accepts $flag])
 
                if test_cc_flags $flag; then