diff options
author | Malcolm Tredinnick <malcolm@src.gnome.org> | 2003-08-05 03:21:50 +0000 |
---|---|---|
committer | Malcolm Tredinnick <malcolm@src.gnome.org> | 2003-08-05 03:21:50 +0000 |
commit | d2466389e502fdbd7b1a198a95f170e53ca3b79f (patch) | |
tree | 3d940e6f1deb876d4edefae5b24c4472eb7ae695 | |
parent | f75d988c3a1149918c6d5d9fc142601fdb4606f1 (diff) | |
download | shared-mime-info-d2466389e502fdbd7b1a198a95f170e53ca3b79f.tar.gz |
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
-rw-r--r-- | macros2/ChangeLog | 7 | ||||
-rw-r--r-- | macros2/compiler-flags.m4 | 2 |
2 files changed, 8 insertions, 1 deletions
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 <malcolm@commsecure.com.au> + + * 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 <malcolm@commsecure.com.au> * 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 |