BIND 10 master, updated. 8cea64b69af8d5ef21497d2f1c9812968ce5d8f7 [master] fixed build error on solaris. apparently the boost namespace hid the definition of uint32_t. also, replaced an unused boost header file (foreach) to a more relevant one (shared_ptr). may be beyond a super-trivial level, but as an urgent care fix I'll push it now. it was confirmed on our solaris box.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Nov 8 07:30:19 UTC 2011
The branch, master has been updated
via 8cea64b69af8d5ef21497d2f1c9812968ce5d8f7 (commit)
from 1aa233fab1d74dc776899df61181806679d14013 (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 8cea64b69af8d5ef21497d2f1c9812968ce5d8f7
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Nov 8 07:28:25 2011 +0000
[master] fixed build error on solaris. apparently the boost namespace
hid the definition of uint32_t. also, replaced an unused boost header file
(foreach) to a more relevant one (shared_ptr).
may be beyond a super-trivial level, but as an urgent care fix I'll push it
now. it was confirmed on our solaris box.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/tests/database_unittest.cc | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/database_unittest.cc b/src/lib/datasrc/tests/database_unittest.cc
index 99d6667..1514fc3 100644
--- a/src/lib/datasrc/tests/database_unittest.cc
+++ b/src/lib/datasrc/tests/database_unittest.cc
@@ -12,7 +12,7 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
-#include <boost/foreach.hpp>
+#include <boost/shared_ptr.hpp>
#include <gtest/gtest.h>
@@ -33,7 +33,10 @@
using namespace isc::datasrc;
using namespace std;
-using namespace boost;
+// don't import the entire boost namespace. It will unexpectedly hide uint32_t
+// for some systems.
+using boost::shared_ptr;
+using boost::dynamic_pointer_cast;
using namespace isc::dns;
namespace {
More information about the bind10-changes
mailing list