1
0
ミラー元 https://git.tukaani.org/xz.git 前回の同期 2025-07-06 12:26:39 +00:00

Build: Use -Wvla with GCC if supported.

Variable-length arrays are mandatory in C99 but optional in C11.
The code doesn't currently use any VLAs and it shouldn't in the
future either to stay compatible with C11 without requiring any
optional C11 features.
このコミットが含まれているのは:
Lasse Collin 2013-04-27 22:07:46 +03:00
コミット 32be621f52

ファイルの表示

@ -560,6 +560,7 @@ if test "$GCC" = yes ; then
for NEW_FLAG in \
-Wall \
-Wextra \
-Wvla \
-Wformat=2 \
-Winit-self \
-Wmissing-include-dirs \