[or-cvs] add extra warnings to our set of disabled warnings

Nick Mathewson nickm at seul.org
Fri Sep 30 01:05:23 UTC 2005


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

Modified Files:
	configure.in 
Log Message:
add extra warnings to our set of disabled warnings

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -d -r1.236 -r1.237
--- configure.in	19 Sep 2005 22:02:14 -0000	1.236
+++ configure.in	30 Sep 2005 01:05:21 -0000	1.237
@@ -516,9 +516,9 @@
 CFLAGS="$CFLAGS -Wall -g -O2"
 # Add some more warnings which we use in the cvs version but not in the
 # 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"
+#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"
+#CFLAGS="$CFLAGS -Wbad-function-cast -Werror -Wdeclaration-after-statement -Wold-style-definitions"
 
 echo "confdir: $CONFDIR"
 



More information about the tor-commits mailing list