diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-30 01:05:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-30 01:05:21 +0000 |
commit | acc601fd3690346093340d752ae67aba267621a6 (patch) | |
tree | d1788d29ebbabc20e4140ebdd6125b1ac08f462f /configure.in | |
parent | 609af664ac5e68b4641ef25d05ab992e60f72b25 (diff) | |
download | tor-acc601fd3690346093340d752ae67aba267621a6.tar.gz tor-acc601fd3690346093340d752ae67aba267621a6.zip |
add extra warnings to our set of disabled warnings
svn:r5158
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 8fee1de56e..2cf5b7fa5d 100644 --- a/configure.in +++ b/configure.in @@ -516,9 +516,9 @@ AC_DEFINE([LOCALSTATEDIR], [], [Default location to store state files.]) 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" |