aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-18 21:39:06 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-18 21:39:06 +0000
commit2c6e327426a113259b8ab53008881664155b192e (patch)
tree56774b4d17211dd96553cfe919249b9f4f589cc7
parent976e71f75c55cb4f75000dcebd2fafaff1d70858 (diff)
downloadpaludis-2c6e327426a113259b8ab53008881664155b192e.tar.gz
paludis-2c6e327426a113259b8ab53008881664155b192e.tar.xz
More compiler warnings for g++-4.3
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9b339e3..e423cee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -500,6 +500,10 @@ elif test "x${ac_cv_cxx_compiler_gnu}" = "xyes" ; then
PALUDIS_CXXFLAGS_NO_WSHADOW=-Wno-shadow
fi
PALUDIS_CXXFLAGS_WITHOUT_PEDANTIC=$PALUDIS_CXXFLAGS
+ CHECK_CXXFLAG([-Wconversion])
+ CHECK_CXXFLAG([-Wlogical-op])
+ CHECK_CXXFLAG([-Waggregate-return])
+ CHECK_CXXFLAG([-Wvla])
CHECK_CXXFLAG([-pedantic])
else
CHECK_CXXFLAG([-Wall])