BIND 10 master, updated. fb032e397153a63e4f1bd3b9b7fc1a89c01e7d6f [master] worked around a build error on the Solaris buildbox (with g++). in that platform BOOST_STATIC_ASSERT() complained about class static constants as "non constant".

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jun 27 08:21:48 UTC 2011


The branch, master has been updated
       via  fb032e397153a63e4f1bd3b9b7fc1a89c01e7d6f (commit)
      from  6bc6c57d5761ccd2ef65291e81bbfd995b4758a9 (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 fb032e397153a63e4f1bd3b9b7fc1a89c01e7d6f
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Jun 27 01:20:48 2011 -0700

    [master] worked around a build error on the Solaris buildbox (with g++).
    in that platform BOOST_STATIC_ASSERT() complained about class static constants
    as "non constant".

-----------------------------------------------------------------------

Summary of changes:
 src/lib/acl/ip_check.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/acl/ip_check.h b/src/lib/acl/ip_check.h
index c88bed2..5bc70fc 100644
--- a/src/lib/acl/ip_check.h
+++ b/src/lib/acl/ip_check.h
@@ -100,7 +100,7 @@ private:
 
     // Confirm our assumption of relative sizes - this allows us to assume that
     // an array sized for an IPv6 address can hold an IPv4 address.
-    BOOST_STATIC_ASSERT(IPV6_SIZE > IPV4_SIZE);
+    BOOST_STATIC_ASSERT(sizeof(struct in6_addr) > sizeof(struct in_addr));
 
 public:
     /// \brief String Constructor




More information about the bind10-changes mailing list