update compiler warnings, fix them

Update the compiler warnings, and fix all the ones outside the guile/.
This commit is contained in:
djcb
2018-06-11 10:49:07 +03:00
parent dcaad0e473
commit 99df588d41
4 changed files with 25 additions and 22 deletions

View File

@ -44,8 +44,13 @@ AC_PROG_CC_C99
AC_PROG_INSTALL
AC_HEADER_STDC
extra_flags="-Wformat-security \
-Wstack-protector \
-Wstack-protector-all \
-Wno-cast-function-type"
AX_CXX_COMPILE_STDCXX_14
m4_ifdef([AX_COMPILER_FLAGS],[AX_COMPILER_FLAGS(,,[yes])])
m4_ifdef([AX_COMPILER_FLAGS],[AX_COMPILER_FLAGS(,,[yes],${extra_flags})])
AX_VALGRIND_CHECK
# for now, use AM_PROG_LIBTOOL, as we don't want to require