BIND 10 #3338: rename dns/message.h and other dns headers due to bind9 clash

BIND 10 Development do-not-reply at isc.org
Fri Feb 14 15:45:46 UTC 2014


#3338: rename dns/message.h and other dns headers due to bind9 clash
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:  UnAssigned
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  libdns++                           |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 dns/message.h  is a file provided from BIND9. It is incompatible and
 different than BIND10's dns/message.h.

 Code with #include <dns/message.h>
 may end up matching wrong version and result in:
     error: 'isc::dns::Message' has not been declared
 (as an example).

 Ordering of -I include arguments can work around this, but it would be
 best not to use same name especially since lots of systems have bind9
 headers in default headers path. I propose we change the filename.

 This also is about dns/rdataclass.h dns/rdata.h dns/rcode.h dns/opcode.h
 and dns/name.h

 I thought I brought this up before but couldn't find old ticket.

 I think maybe if we don't rename files, we should rename the subdirectory
 to dns++/

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


More information about the bind10-tickets mailing list