BIND 10 #837: multiple include of initialized static constant members

BIND 10 Development do-not-reply at isc.org
Sun Apr 24 09:00:09 UTC 2011


#837: multiple include of initialized static constant members
--------------------------------------------+----------------------------
                   Reporter:  fdupont       |                 Owner:
                       Type:  defect        |                Status:  new
                   Priority:  major         |             Milestone:
                  Component:  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 fdupont):

 Replying to [comment:4 vorner]:
 > #define is bad, it is a symbol you can't get rid off by namespaces,
 local declarations, etc.

 => in this case it is easy to make the #define local (just #undef it after
 use).
 But if we want to check it has the same value than MAX_LABELS it won't
 work...

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


More information about the bind10-tickets mailing list