From: Malcolm Tredinnick Date: Tue, 5 Aug 2003 03:21:50 +0000 (+0000) Subject: Continuing to try and get the flags passed to g++ in GNOME_CXX_WARNINGS X-Git-Tag: GNOME_COMMON_2_4_0~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2466389e502fdbd7b1a198a95f170e53ca3b79f;p=platform%2Fupstream%2Fgnome-common.git 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 --- diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 8a17b17..70af2e7 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 c8ed02c..c80710e 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