builder: Allow large variable length arrays.

Gnulib added: -Wvla-larger-than=4031, get rid.
This commit is contained in:
Richard W.M. Jones
2017-06-22 15:06:01 +01:00
parent d5467855e5
commit fbb0cd8582

View File

@@ -48,6 +48,7 @@ nw="$nw -Wtraditional" # Warns on #elif which we use often
nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings
nw="$nw -Wpadded" # Our structs are not padded
nw="$nw -Wvla" # Allow variable length arrays.
nw="$nw -Wvla-larger-than=4031"
nw="$nw -Winline" # inline functions in Python binding
nw="$nw -Wshadow" # Not useful, as it applies to global vars
nw="$nw -Wunsafe-loop-optimizations" # just a warning that an optimization