BIND 10 #855: upgrade asio to 1.4.8

BIND 10 Development do-not-reply at isc.org
Thu Apr 21 21:27:40 UTC 2011


#855: upgrade asio to 1.4.8
-------------------------------------+-------------------------------------
                   Reporter:  jelte  |                 Owner:  jelte
                       Type:  task   |                Status:  reviewing
                   Priority:  major  |             Milestone:
                  Component:         |  Sprint-20110503
  Unclassified                       |            Resolution:
                   Keywords:         |             Sensitive:  0
            Defect Severity:  N/A    |           Sub-Project:  DNS
Feature Depending on Ticket:         |  Estimated Difficulty:  0.0
        Add Hours to Ticket:  0      |           Total Hours:  0
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 As we saw it causes build failure with clang++:
 http://bind10.isc.org/~tester/builder//BIND10/20110419071501-FreeBSD8-i386-Clang/logs/build.out

 This is because ASIO declares some functions/methods inline, while
 providing its definition in the same "header file" (via #include) without
 specifying 'inline':

 {{{
 In foo_asio.hpp:
 inline void foo();

 // no 'inline here'
 void foo() {
 }
 }}}

 g++ seems to handle this case as an inline function, but clang++ seems to
 make a duplicate copy of it.  I don't know which one is correct in terms
 of the languagee specification, but we can at least work this around by
 the attached (large but) straightforward patch to our ASIO copy.

 Can I push this change to master?

-- 
Ticket URL: <http://bind10.isc.org/ticket/855#comment:6>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list