added '-Wformat -Wformat-security' to compile args - no associated warnings in current code

This commit is contained in:
Michael Rash
2012-10-30 22:03:40 -04:00
parent e103bdf4b0
commit f488a8d75d
+2 -2
View File
@@ -125,12 +125,12 @@ dnl
use_wall=yes
AC_ARG_ENABLE([wall],
[AS_HELP_STRING([--disable-wall],
[Do not enable all warnings via -Wall @<:@default is on@:>@])],
[Do not enable warnings via -Wall -Wformat -Wformat-security @<:@default is on@:>@])],
[use_wall=$enableval],
[])
if test "x$use_wall" = "xyes"; then
FKO_CHECK_COMPILER_ARG([-Wall])
FKO_CHECK_COMPILER_ARG([-Wall -Wformat -Wformat-security])
fi
dnl Check for security features offered by the compiler