BIND 10 #2147: boost::offset_ptr doesn't compile with clang + old boost
BIND 10 Development
do-not-reply at isc.org
Mon Jul 23 22:14:29 UTC 2012
#2147: boost::offset_ptr doesn't compile with clang + old boost
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | UnAssigned
Priority: medium | Status: new
Component: build system | Milestone: Next-
Sensitive: 0 | Sprint-Proposed
Sub-Project: DNS | Keywords:
Estimated Difficulty: 0 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
See this:
http://git.bind10.isc.org/~tester/builder/BIND10/20120723120000-FreeBSD8-i386-Clang/logs/build.out
From experiments offset_ptr in some older versions of boost causes
this error on clang++. Confirmed with boost 1.43 + clang 2.8 and
boost 1.42 + clang 3.1, so it's more about the boost version and
doesn't depend on the clang version.
Maybe it's a minor case, but it's probably helpful to detect this in
./configure and tell the user to upgrade boost. It should suffice to
check it with AC_TRY_COMPILE() using this test code:
{{{#!cpp
#include <boost/interprocess/offset_ptr.hpp>
}}}
--
Ticket URL: <https://bind10.isc.org/ticket/2147>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list