From d2466389e502fdbd7b1a198a95f170e53ca3b79f Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 5 Aug 2003 03:21:50 +0000 Subject: Continuing to try and get the flags passed to g++ in GNOME_CXX_WARNINGS * compile-flags.m4: Continuing to try and get the flags passed to g++ in GNOME_CXX_WARNINGS correct. Based on our best attempts, the current set should work for the widest range of g++ versions (see bug #118987 for the discussion). svn path=/trunk/; revision=3053 --- macros2/ChangeLog | 7 +++++++ macros2/compiler-flags.m4 | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 8a17b179..70af2e71 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -1,3 +1,10 @@ +2003-08-05 Malcolm Tredinnick + + * compile-flags.m4: Continuing to try and get the flags passed + to g++ in GNOME_CXX_WARNINGS correct. Based on our best + attempts, the current set should work for the widest range of + g++ versions (see bug #118987 for the discussion). + 2003-08-03 Malcolm Tredinnick * compile-flags.m4: Simplify GNOME_CXX_WARNINGS. Fixes bug diff --git a/macros2/compiler-flags.m4 b/macros2/compiler-flags.m4 index c8ed02c7..c80710eb 100644 --- a/macros2/compiler-flags.m4 +++ b/macros2/compiler-flags.m4 @@ -109,7 +109,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-declarations -Wshadow -Woverloaded-virtual" + warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" fi fi fi -- cgit v1.2.1