BIND 10 #1773: build failure with clang++ on MacOS Lion
BIND 10 Development
do-not-reply at isc.org
Tue Mar 13 06:56:59 UTC 2012
#1773: build failure with clang++ on MacOS Lion
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | UnAssigned
Priority: medium | Status: new
Component: build system | Milestone: Next-
Sensitive: 0 | Sprint-Proposed
Sub-Project: Core | Keywords:
Estimated Difficulty: 0 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
I suspect it's common for all variants of clang++ of the same version
(mine is 3.1), but Lion is the only OS I'm using that has this version
of clang++.
It fails as follows:
{{{
In file included from message_renderer_bench.cc:In file included from
rdatarender_bench.cc:22:
../../../../src/lib/bench/benchmark.h:213:62: error: binding reference
member
'target_' to stack allocated parameter 'target' [-Werror,-Wdangling-
field]
iterations_(iterations), sub_iterations_(0), target_(target)
^~~~~~
rdatarender_bench.cc:180:5: note: in instantiation of member function
'isc::bench::BenchMark<<anonymous>::RdataRenderBenchMark<boost::shared_ptr<const
isc::dns::rdata::Rdata> > >::BenchMark' requested here
}}}
I've already figured out how to avoid this (I'll soon commit a branch
containing the initial fix). The rest of the task is to complete it
(I guess it's just some minor cleanups), get it reviewed and merge.
--
Ticket URL: <http://bind10.isc.org/ticket/1773>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list