added '-Wformat -Wformat-security' to compile args - no associated warnings in curren...
authorMichael Rash <mbr@cipherdyne.org>
Wed, 31 Oct 2012 02:03:40 +0000 (22:03 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Wed, 31 Oct 2012 02:03:40 +0000 (22:03 -0400)
configure.ac

index 8defe0d..f7d8e07 100644 (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