BIND 10 master, updated. 6bc6c57d5761ccd2ef65291e81bbfd995b4758a9 Fix compilation for g++ 4.5.2
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Jun 26 12:55:28 UTC 2011
The branch, master has been updated
via 6bc6c57d5761ccd2ef65291e81bbfd995b4758a9 (commit)
from 8d5a5b95c85af1f15654fe164f306fe21065ea73 (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 6bc6c57d5761ccd2ef65291e81bbfd995b4758a9
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Sun Jun 26 10:23:33 2011 +0200
Fix compilation for g++ 4.5.2
It didn't find the static members while linking.
-----------------------------------------------------------------------
Summary of changes:
src/lib/acl/ip_check.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/acl/ip_check.h b/src/lib/acl/ip_check.h
index 844d06a..c88bed2 100644
--- a/src/lib/acl/ip_check.h
+++ b/src/lib/acl/ip_check.h
@@ -341,6 +341,13 @@ private:
int family_; ///< Address family
};
+// Some compilers seem to need this to be explicitly defined outside the class
+template <typename Context>
+const size_t IPCheck<Context>::IPV6_SIZE;
+
+template <typename Context>
+const size_t IPCheck<Context>::IPV4_SIZE;
+
} // namespace acl
} // namespace isc
More information about the bind10-changes
mailing list