mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
builder: Allow large variable length arrays.
Gnulib added: -Wvla-larger-than=4031, get rid.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user