BIND 10 #2214: import/export decoration for DLLs

BIND 10 Development do-not-reply at isc.org
Mon Aug 20 21:33:59 UTC 2012


#2214: import/export decoration for DLLs
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  fdupont                            |                Status:  new
                       Type:         |             Milestone:  New Tasks
  enhancement                        |            Resolution:
                   Priority:         |             Sensitive:  0
  medium                             |           Sub-Project:  Core
                  Component:         |  Estimated Difficulty:  0
  Unclassified                       |           Total Hours:  0
                   Keywords:         |
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by fdupont):

 Done in trac2214 (stacked on trac2144 too often conflicting).
 Rules are:
  - new dll.h file per library defining B10_xxx_API (for decoration) and
 B10_xxx_EXPORT (for exporting *.cc)
  - nothing for not-global const, typedef, inline and templates
  - class B10_xxx_API <name> declaration (exporting all methods
 automagically)
  - B10_xxx_API <type> <function> for global functions (both declaration
 and definition)
  - extern B10_xxx_API ... for explicit externs
  - in some cases instantiation must be enforced (so some new some .cc
 file, etc)
 Dedicated to WIN32 DLLs (fix me?)

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


More information about the bind10-tickets mailing list