BIND 10 #2764: base_xx wrapper doesn't compile with Boost 1.53

BIND 10 Development do-not-reply at isc.org
Sat Feb 16 22:23:47 UTC 2013


#2764: base_xx wrapper doesn't compile with Boost 1.53
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  jinmei                             |                Status:  new
                       Type:         |             Milestone:  Next-Sprint-
  defect                             |  Proposed
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:  build  |           Sub-Project:  Core
  system                             |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 The latest release version of Boost (1.53) introduced some non
 trivial changes to classes we are using for base-32/64 and hex
 conversions, and it breaks build and tests of BIND 10.

 The key issues are:
 - to meet the requirement of transform_width, we need the postfix
   version of operator++ for `EncodeNormalizer`
 - binary_from_base64.hpp now recognizes the padding character, which
   breaks our assumption on some failure mode.
 - transform_width does not call redundant operator* beyond the end of
   the iterator.  It seems to be safe and good itself, but our code
   relies on it to catch an error case ourselves.  So it now doesn't
   work as intended.

 A quick hack patch that is attached will fix these issues.  We'll need
 to clean it up, review it, and merge.

 p.s. I suspect the need for the postfix version of operator++ is a
 kind of regression and reported it:
 https://svn.boost.org/trac/boost/ticket/8081

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


More information about the bind10-tickets mailing list