[vlc-commits] configure: warn about unbound size VLA
Rémi Denis-Courmont
git at videolan.org
Sat May 12 14:44:07 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 12 15:42:48 2018 +0300| [c3eaddc7d5b8205dfbe02abf3689ba7011889028] | committer: Rémi Denis-Courmont
configure: warn about unbound size VLA
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3eaddc7d5b8205dfbe02abf3689ba7011889028
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 45e4f3d4da..837d37107b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -936,7 +936,7 @@ dnl
AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wduplicated-branches -Wduplicated-cond], [CFLAGS])
AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wduplicated-branches -Wduplicated-cond], [CXXFLAGS])
-AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -Wmultistatement-macros], [CFLAGS])
+AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -Wmultistatement-macros -Wvla-larger-than=1024], [CFLAGS])
AX_APPEND_COMPILE_FLAGS([-pipe], [CFLAGS])
dnl
More information about the vlc-commits
mailing list