From 129c6b2c2562000002fe09f109e8154fa9560ee4 Mon Sep 17 00:00:00 2001 From: Mark Grondona <mgrondona@llnl.gov> Date: Wed, 17 Apr 2002 15:42:10 +0000 Subject: [PATCH] o added extra warning flags to gcc for the development cycle --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8988641810f..6c4954fff4c 100644 --- a/configure.ac +++ b/configure.ac @@ -33,10 +33,10 @@ AC_ARG_ENABLE(debug, ) AC_MSG_RESULT(${debug=no}) if test "x$debug" = "xtrue"; then - CFLAGS="${CFLAGS--g -Wall}" + CFLAGS="${CFLAGS--g -O2 -Wall -Wpointer-arith -Wstrict-prototypes}" AC_DEFINE(DEBUG_SYSTEM, 1, [Define for extra debug messages.]) else - CFLAGS="${CFLAGS--g -O2}" + CFLAGS="${CFLAGS--g -O2 -Wall -Wpointer-arith -Wstrict-prototypes}" fi AM_CONDITIONAL(DEBUG_MODULES, test "x$debug" = "xtrue") -- GitLab