[or-cvs] Fix verbose compiler warnings, including one in routerlist....

Nick Mathewson nickm at seul.org
Wed Oct 5 02:06:37 UTC 2005


Update of /home/or/cvsroot/tor
In directory moria:/tmp/cvs-serv5860

Modified Files:
	configure.in 
Log Message:
Fix verbose compiler warnings, including one in routerlist.c that would have been an actual error.  Normalize whitespace.  Enforce convention that "address" is a hostname and "addr" is an IPv4 address.

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -d -r1.237 -r1.238
--- configure.in	30 Sep 2005 01:05:21 -0000	1.237
+++ configure.in	5 Oct 2005 02:06:35 -0000	1.238
@@ -518,7 +518,7 @@
 # released versions.  (Some relevant gcc versions can't handle these.)
 #CFLAGS="$CFLAGS -W -Wno-unused-parameter -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Winit-self -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-field-initializers -Wredundant-decls -Winline"
 # Add these in when you feel like fun.
-#CFLAGS="$CFLAGS -Wbad-function-cast -Werror -Wdeclaration-after-statement -Wold-style-definitions"
+#CFLAGS="$CFLAGS -Wbad-function-cast -Werror -Wdeclaration-after-statement -Wold-style-definition"
 
 echo "confdir: $CONFDIR"
 



More information about the tor-commits mailing list