BIND 10 #907: variable argument list and pointer reference

BIND 10 Development do-not-reply at isc.org
Fri May 6 15:34:01 UTC 2011


#907: variable argument list and pointer reference
-------------------------------------+-------------------------------------
                   Reporter:         |                  Type:  defect
  fdupont                            |              Priority:  minor
                     Status:  new    |             Component:  Unclassified
                  Milestone:  New    |             Sensitive:  0
  Tasks                              |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  Low    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 I've found a funny problem with log methods: they are declared with a
 variable argument list following a reference to a MessageID, a char *
 typedef.
 On Windows stdarg.h is implemented with macros which are confused so the
 run time init test (aka logger_support_test.cc) doesn't pass.
 The fix is pretty easy: don't use reference (i.e., remove the &). BTW IMHO
 taking the reference of a pointer is not the best idea...

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


More information about the bind10-tickets mailing list