BIND 10 master, updated. 45d2c5e07fc8eb3b4a9493470118fe5765164365 [master] use $(BOOST_MAPPED_FILE_CXXFLAG) for in-memory datasrc tests.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon May 20 20:58:00 UTC 2013
The branch, master has been updated
via 45d2c5e07fc8eb3b4a9493470118fe5765164365 (commit)
from 9d7bd1274b7ff4578e108c8c13bad81cc2867d14 (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 45d2c5e07fc8eb3b4a9493470118fe5765164365
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon May 20 20:56:38 2013 +0000
[master] use $(BOOST_MAPPED_FILE_CXXFLAG) for in-memory datasrc tests.
one of the tests directly uses the boost mapped_file_segment class, which can
result in compiler warnings on some platforms.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/tests/memory/Makefile.am | 8 ++++++++
1 file changed, 8 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/Makefile.am b/src/lib/datasrc/tests/memory/Makefile.am
index c3d6a40..fd60af5 100644
--- a/src/lib/datasrc/tests/memory/Makefile.am
+++ b/src/lib/datasrc/tests/memory/Makefile.am
@@ -8,6 +8,14 @@ AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_builddir)\"
AM_CXXFLAGS = $(B10_CXXFLAGS)
+if USE_SHARED_MEMORY
+# See src/lib/util/Makefile.am. We need this because some tests directly
+# use the Boost managed_mapped_file. It's not ideal to deal with it as
+# a module-wide flag, but considering it's for tests and only for limited
+# environments, it would still be better to introduce more complicated setup.
+AM_CXXFLAGS += $(BOOST_MAPPED_FILE_CXXFLAG)
+endif
+
if USE_STATIC_LINK
AM_LDFLAGS = -static
endif
More information about the bind10-changes
mailing list