From f488a8d75d94fdd484e31971c187bd593dc15cc6 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Tue, 30 Oct 2012 22:03:40 -0400 Subject: [PATCH] added '-Wformat -Wformat-security' to compile args - no associated warnings in current code --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8defe0d4..f7d8e070 100644 --- a/configure.ac +++ b/configure.ac @@ -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