aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-09 04:50:44 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-09 04:50:44 +0000
commit8af43306d9c6c557172b1b954aa9a8fa108ffe22 (patch)
treed3fd06a45686647f753d027e1ab0584d40988851
parent929b1729557175a33eae5a06d965ceecfa6524bc (diff)
downloadtor-8af43306d9c6c557172b1b954aa9a8fa108ffe22.tar.gz
tor-8af43306d9c6c557172b1b954aa9a8fa108ffe22.zip
move -Wwrite-strings -Wredundant-decls to a separate CFLAGS
line, since they fail on my system due to bugs in my includes svn:r2718
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e0f0ae205b..646de789be 100644
--- a/configure.in
+++ b/configure.in
@@ -232,7 +232,10 @@ AC_SUBST(LOCALSTATEDIR)
# Set CFLAGS _after_ all the above checks, since our warnings are stricter
# than autoconf's macros like.
-CFLAGS="$CFLAGS -Wall -W -Wno-unused-parameter -Wfloat-equal -Wundef -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -g -O2"
+CFLAGS="$CFLAGS -Wall -W -Wno-unused-parameter -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -g -O2"
+# Add some more warnings which we use in the cvs version but not in the
+# released versions.
+CFLAGS="$CFLAGS -Wwrite-strings -Wredundant-decls"
# Add these in when you feel like fun.
# -Wbad-function-cast -Werror -Wdeclaration-after-statement