tExtra gcc warnings enabled (for hopefully cleaner code) - vaccinewars - be a d… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 920c744900dadf7503f51b570cfdaf47cde1427c | |
parent e7acc64e6c87acde465be7ca02b734ed4bc46b04 | |
Author: Ben Webb <[email protected]> | |
Date: Wed, 12 Sep 2001 17:43:18 +0000 | |
Extra gcc warnings enabled (for hopefully cleaner code) | |
Diffstat: | |
M configure | 1 - | |
M configure.in | 2 +- | |
2 files changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/configure b/configure | |
t@@ -4753,7 +4753,6 @@ fi | |
if test -n "$GCC"; then | |
CFLAGS="$CFLAGS -Wall -Wfloat-equal -Wpointer-arith -Wcast-qual -Wcast-alig… | |
- CFLAGS="$CFLAGS -Wall" | |
fi | |
CFLAGS="$CFLAGS -DDATADIR=\\\"${datadir}\\\"" | |
diff --git a/configure.in b/configure.in | |
t@@ -195,7 +195,7 @@ fi | |
dnl Enable full warnings if using gcc | |
if test -n "$GCC"; then | |
dnl CFLAGS="$CFLAGS -Wall -Wfloat-equal -Wpointer-arith -Wbad-function-cast … | |
- CFLAGS="$CFLAGS -Wall" | |
+ CFLAGS="$CFLAGS -Wall -Wfloat-equal -Wpointer-arith -Wcast-qual -Wcast-alig… | |
fi | |
dnl Pass the data directory to the compiler so the program knows |