From b961dc0abacada2e1c9fb81682ed2ccae2a6aa39 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Thu, 13 Oct 2005 21:58:31 +0000
Subject: [PATCH] Reenable -Wall by default and change all this fucking mess to
compile without warnings (BTW: found a block matrix error while examining all
the warnings).
This mess was committed by cH.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f0b9df3..c9cc82b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,7 +152,7 @@ dnl set default debugging flags, but allow for user-override
dnl
if test -z "${ALBERTA_DEBUG_CFLAGS}"; then
if test "$GCC" = yes; then
- ALBERTA_DEBUG_CFLAGS="-O0 -g3 -gdwarf-2 -fno-inline -fno-builtin"
+ ALBERTA_DEBUG_CFLAGS="-Wall -O0 -g3 -ggdb -fno-inline -fno-builtin"
else
ALBERTA_DEBUG_CFLAGS="-g"
fi
@@ -167,7 +167,7 @@ dnl code.
dnl
if test -z "${ALBERTA_OPTIMIZE_CFLAGS}"; then
if test "$GCC" = yes; then
- ALBERTA_OPTIMIZE_CFLAGS="-O3 -g"
+ ALBERTA_OPTIMIZE_CFLAGS="-Wall -O3 -g3 -ggdb"
else
ALBERTA_OPTIMIZE_CFLAGS="-O"
fi
--
GitLab