my gcc has never heard of -Wendif-labels

feel free to add it back in if you can make it only used by gcc's
that know about it


svn:r2654
This commit is contained in:
Roger Dingledine 2004-11-03 07:29:44 +00:00
parent e761cc9750
commit 5253405dfc

View File

@ -232,7 +232,7 @@ AC_SUBST(LOCALSTATEDIR)
# Set CFLAGS _after_ all the above checks, since our warnings are stricter # Set CFLAGS _after_ all the above checks, since our warnings are stricter
# than autoconf's macros like. # than autoconf's macros like.
CFLAGS="$CFLAGS -Wall -W -Wno-unused-parameter -Wfloat-equal -Wundef -Wendif-labels -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -g -O2" CFLAGS="$CFLAGS -Wall -W -Wno-unused-parameter -Wfloat-equal -Wundef -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -g -O2"
# Add these in when you feel like fun. # Add these in when you feel like fun.
# -Wbad-function-cast -Werror -Wdeclaration-after-statement # -Wbad-function-cast -Werror -Wdeclaration-after-statement