tExtra gcc warnings enabled (for hopefully cleaner code) - vaccinewars - be a doctor and try to vaccinate the world
HTML git clone git://src.adamsgaard.dk/vaccinewars
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 920c744900dadf7503f51b570cfdaf47cde1427c
DIR parent e7acc64e6c87acde465be7ca02b734ed4bc46b04
HTML Author: Ben Webb <ben@salilab.org>
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(-)
---
DIR 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-align -Wsign-compare -Waggregate-return -Wredundant-decls -Wnested-externs -Wunused"
- CFLAGS="$CFLAGS -Wall"
fi
CFLAGS="$CFLAGS -DDATADIR=\\\"${datadir}\\\""
DIR 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 -Wcast-qual -Wcast-align -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wredundant-decls -Wnested-externs -Wunreachable-code -Wunused"
- CFLAGS="$CFLAGS -Wall"
+ CFLAGS="$CFLAGS -Wall -Wfloat-equal -Wpointer-arith -Wcast-qual -Wcast-align -Wsign-compare -Waggregate-return -Wredundant-decls -Wnested-externs -Wunused"
fi
dnl Pass the data directory to the compiler so the program knows