BIND 10 #2782: bind10 is not compilable with boost 1.53.0
BIND 10 Development
do-not-reply at isc.org
Wed Feb 20 16:17:34 UTC 2013
#2782: bind10 is not compilable with boost 1.53.0
-------------------------------------+-------------------------------------
Reporter: atkac | Owner:
Type: defect | Status: new
Priority: medium | Milestone: New
Component: Unclassified | Tasks
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by atkac):
Replying to [comment:1 jinmei]:
> Replying to [ticket:2782 atkac]:
> > Current bind10 (I used bind10 beta but current git master is also
broken) is not compilable with boost 1.53.0. Compilation ends with
following error:
> >
> > /usr/include/boost/archive/iterators/transform_width.hpp:144:55:
error: no 'operator++(int)' declared for postfix '++' [-fpermissive]
> >
> > The main reason is that boost 1.53.0 changed transform_width.hpp
header and their transform_width() method now postincrements
this->base_reference() object. Previous versions preincrements this
objects. Since Encode/DecodeNormalizer classes define only preincrement
operators, compilation fails.
> >
> > I will attach the patch but please note this might be a bug in boost
because postincrementation requires more CPU & memory because
Encode/DecodeNormalizer object must be copied.
>
> Thanks for the report. We already noticed it (see #2764), and, as
> noted in that ticket, I've also reported the issue to the Boost
> developer: https://svn.boost.org/trac/boost/ticket/8081
Heh, same patch as I suggested in RH bug
https://bugzilla.redhat.com/show_bug.cgi?id=912507 :)
> Is it okay to close this ticket as a duplicate?
Of course, close this ticket.
--
Ticket URL: <http://bind10.isc.org/ticket/2782#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list