mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 06:21:55 +01:00
add extra warnings to our set of disabled warnings
svn:r5158
This commit is contained in:
parent
609af664ac
commit
acc601fd36
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue