BIND 10 master, updated. 56e8727ef471d54b56a88f340d19e2ee05d898bf [master] Fix logger tests build problem using clang
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue May 31 16:01:26 UTC 2011
The branch, master has been updated
via 56e8727ef471d54b56a88f340d19e2ee05d898bf (commit)
from 137e70ef17439961ac3ce8fa288675502cd26178 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 56e8727ef471d54b56a88f340d19e2ee05d898bf
Author: Stephen Morris <stephen at isc.org>
Date: Tue May 31 17:00:40 2011 +0100
[master] Fix logger tests build problem using clang
Change reviewed on Jabber.
-----------------------------------------------------------------------
Summary of changes:
src/lib/log/tests/Makefile.am | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/log/tests/Makefile.am b/src/lib/log/tests/Makefile.am
index 9a02795..2b9b245 100644
--- a/src/lib/log/tests/Makefile.am
+++ b/src/lib/log/tests/Makefile.am
@@ -27,6 +27,10 @@ run_unittests_SOURCES += log_formatter_unittest.cc
run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES) $(LOG4CPLUS_INCLUDES)
run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
+run_unittests_CXXFLAGS = $(AM_CXXFLAGS)
+if USE_CLANGPP
+run_unittests_CXXFLAGS += -Wno-error=unused-parameter
+endif
run_unittests_LDADD = $(GTEST_LDADD)
run_unittests_LDADD += $(top_builddir)/src/lib/log/liblog.la
run_unittests_LDADD += $(top_builddir)/src/lib/util/unittests/libutil_unittests.la
@@ -35,6 +39,10 @@ endif
TESTS += logger_support_test
logger_support_test_SOURCES = logger_support_test.cc
logger_support_test_CPPFLAGS = $(AM_CPPFLAGS)
+logger_support_test_CXXFLAGS = $(AM_CXXFLAGS)
+if USE_CLANGPP
+logger_support_test_CXXFLAGS += -Wno-error=unused-parameter
+endif
logger_support_test_LDFLAGS = $(AM_LDFLAGS)
logger_support_test_LDADD = $(top_builddir)/src/lib/log/liblog.la
More information about the bind10-changes
mailing list