aboutsummaryrefslogtreecommitdiffstats
path: root/macros/compiler-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/compiler-flags.m4')
-rw-r--r--macros/compiler-flags.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4
index 51ff70fc05..07f85c1521 100644
--- a/macros/compiler-flags.m4
+++ b/macros/compiler-flags.m4
@@ -64,7 +64,7 @@ AC_DEFUN([GNOME_CXX_WARNINGS],[
## -W is not all that useful. And it cannot be controlled
## with individual -Wno-xxx flags, unlike -Wall
if test "x$enable_cxx_warnings" = "xyes"; then
- warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
+ warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wshadow -Woverloaded-virtual"
fi
fi
fi