BIND 10 master, updated. 0a4318b47384909ac7d922c065f38f46790db640 [master] fixed a build error on solaris/g++: apparently it has a conflict definition of uint16_t in the boost namespace. So avoid doing 'using namespace boost'. Instead, import a specific name used in this file. additional cleanups are made: be sure to include stdint.h just in case, and remove unnecessary boost header file.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jun 29 01:21:34 UTC 2011
The branch, master has been updated
via 0a4318b47384909ac7d922c065f38f46790db640 (commit)
from e0388c4bf5ca94c72132138edd81ff272148e2de (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 0a4318b47384909ac7d922c065f38f46790db640
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed Jun 29 01:18:59 2011 +0000
[master] fixed a build error on solaris/g++: apparently it has a conflict
definition of uint16_t in the boost namespace. So avoid doing
'using namespace boost'. Instead, import a specific name used in this file.
additional cleanups are made: be sure to include stdint.h just in case,
and remove unnecessary boost header file.
-----------------------------------------------------------------------
Summary of changes:
src/bin/resolver/resolver.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/resolver/resolver.cc b/src/bin/resolver/resolver.cc
index 4a937c6..be254b7 100644
--- a/src/bin/resolver/resolver.cc
+++ b/src/bin/resolver/resolver.cc
@@ -14,6 +14,7 @@
#include <config.h>
+#include <stdint.h>
#include <netinet/in.h>
#include <algorithm>
@@ -21,7 +22,6 @@
#include <cassert>
#include <boost/shared_ptr.hpp>
-#include <boost/lexical_cast.hpp>
#include <boost/foreach.hpp>
#include <exceptions/exceptions.h>
@@ -57,7 +57,7 @@
#include "resolver_log.h"
using namespace std;
-using namespace boost;
+using boost::shared_ptr;
using namespace isc;
using namespace isc::util;
More information about the bind10-changes
mailing list