diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-11 02:01:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-19 22:24:50 +0300 |
commit | d7c3cd215f25380cd5db1e93ac549bbb441c60c5 (patch) | |
tree | fbb82466765dfb7227a3ff48e1d194d3b62f0841 /configure.ac | |
parent | 1243ccae245b12134f841703957221c3157dda9a (diff) | |
download | hercules-d7c3cd215f25380cd5db1e93ac549bbb441c60c5.tar.gz hercules-d7c3cd215f25380cd5db1e93ac549bbb441c60c5.tar.bz2 hercules-d7c3cd215f25380cd5db1e93ac549bbb441c60c5.tar.xz hercules-d7c3cd215f25380cd5db1e93ac549bbb441c60c5.zip |
Add -Wvla flag into configure.
This flag prevent usage of variable length arrays.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4d5f4bcfd..2aad9d7e7 100644 --- a/configure.ac +++ b/configure.ac @@ -1085,6 +1085,7 @@ AC_CHECK_COMPILER_WFLAG(redundant-decls) AC_CHECK_COMPILER_WFLAG(cast-qual) AC_CHECK_COMPILER_WFLAG(misleading-indentation) AC_CHECK_COMPILER_WFLAG(null-dereference) +AC_CHECK_COMPILER_WFLAG(vla) AC_CHECK_COMPILER_WNOFLAG(format-nonliteral) AC_CHECK_COMPILER_WNOFLAG(switch) AC_CHECK_COMPILER_WNOFLAG(missing-field-initializers) |