aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2009-06-03 16:53:34 +0000
committerStefan Bühler <stbuehler@web.de>2009-06-03 16:53:34 +0000
commit93eba354ef4a3e7f827d9098d0ef16d57134d51d (patch)
tree6c5d6734347b0086d32811a4975e57a0be882170
parent65341bc53b90ee39b484a9287167dbc40e00c440 (diff)
downloadspawn-fcgi-93eba354ef4a3e7f827d9098d0ef16d57134d51d.tar.gz
spawn-fcgi-93eba354ef4a3e7f827d9098d0ef16d57134d51d.zip
Remove -Wno-pointer-sign from extra warning options
git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@49 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
-rw-r--r--configure.ac2
-rw-r--r--src/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b47a221..9688240 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,7 +81,7 @@ AC_ARG_ENABLE(extra-warnings,
esac],[extrawarnings=false])
if test x$extrawarnings = xtrue; then
- CFLAGS="${CFLAGS} -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed -Wformat-security"
+ CFLAGS="${CFLAGS} -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed -Wformat-security"
fi
AC_CONFIG_FILES([Makefile src/Makefile])
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5f2f0ff..e812f28 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -9,8 +9,8 @@ IF(CMAKE_COMPILER_IS_GNUCC)
OPTION(BUILD_EXTRA_WARNINGS "extra warnings")
IF(BUILD_EXTRA_WARNINGS)
- SET(WARN_FLAGS "-g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed -Wformat-security")
- # -Werror -Wbad-function-cast -Wmissing-prototypes
+ SET(WARN_FLAGS "-g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed -Wformat-security")
+ # -Wno-pointer-sign -Werror -Wbad-function-cast -Wmissing-prototypes
ELSE(BUILD_EXTRA_WARNINGS)
SET(WARN_FLAGS "")
ENDIF(BUILD_EXTRA_WARNINGS)