BIND 10 #2782: bind10 is not compilable with boost 1.53.0

BIND 10 Development do-not-reply at isc.org
Wed Feb 20 12:41:33 UTC 2013


#2782: bind10 is not compilable with boost 1.53.0
-------------------------------------+-------------------------------------
            Reporter:  atkac         |                         Type:
              Status:  new           |  defect
           Milestone:  New Tasks     |                     Priority:
            Keywords:                |  medium
           Sensitive:  0             |                    Component:
         Sub-Project:  Core          |  Unclassified
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 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.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2782>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list