aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 18:24:10 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 18:24:10 +0000
commit9475ac6d1780238036d8aec6b3ac6e782203f99e (patch)
tree0fa54279c2d96dcf81d4dd8a78db222b7b8ebb2f
parent1215ecdd4dfe4f40cd4d774bbdc353c1253e4b63 (diff)
downloadpaludis-9475ac6d1780238036d8aec6b3ac6e782203f99e.tar.gz
paludis-9475ac6d1780238036d8aec6b3ac6e782203f99e.tar.xz
warning -> compiler, since -pedantic isn't really a warning. Add -Woverloaded-virtual.
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2ebaa25..a1f4905 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,7 +159,7 @@ int main(int, char **)
fi
])
-AC_MSG_CHECKING([for appropriate warning flags])
+AC_MSG_CHECKING([for appropriate compiler flags])
if test "x${cxx_compiler_icc}" = "xyes" ; then
CHECK_CXXFLAG([-Wall])
CHECK_CXXFLAG([-wd279])
@@ -180,6 +180,7 @@ elif test "x${ac_cv_cxx_compiler_gnu}" = "xyes" ; then
CHECK_CXXFLAG([-Wredundant-decls])
CHECK_CXXFLAG([-Wstrict-null-sentinel])
CHECK_CXXFLAG([-Wmissing-noreturn])
+ CHECK_CXXFLAG([-Woverloaded-virtual])
CHECK_CXXFLAG([-pedantic])
else
CHECK_CXXFLAG([-Wall])