Add -Wextra do the CXXFLAGS

This already caused one of the commits before, so warnings are always nice :)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@870 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2007-11-12 21:30:50 +00:00
parent 59c8522a96
commit 74213c9a4f
2 changed files with 9 additions and 5 deletions
Vendored
+4 -2
View File
@@ -2503,10 +2503,12 @@ if test "${enable_perl+set}" = set; then
fi
appendCXX -Wall -Wextra -Wno-unused
if test "$DEBUG" != "no"; then
appendCXX -Wall -ggdb -D_DEBUG
appendCXX -ggdb -D_DEBUG
else
appendCXX -Wall -O2 -fomit-frame-pointer
appendCXX -O2 -fomit-frame-pointer
fi
if test "$IPV6" != "no"; then
+5 -3
View File
@@ -84,11 +84,13 @@ AC_ARG_ENABLE( [openssl],
AC_ARG_ENABLE( [perl],
AC_HELP_STRING([--disable-perl], [disable perl]),
[if test "$enableval" = "no" ; then NOPERL=1; fi],)
appendCXX -Wall -Wextra -Wno-unused
if test "$DEBUG" != "no"; then
appendCXX -Wall -ggdb -D_DEBUG
appendCXX -ggdb -D_DEBUG
else
appendCXX -Wall -O2 -fomit-frame-pointer
appendCXX -O2 -fomit-frame-pointer
fi
if test "$IPV6" != "no"; then