BIND 10 #837: multiple include of initialized static constant members
BIND 10 Development
do-not-reply at isc.org
Sun Apr 24 08:34:08 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
Add Hours to Ticket: 0 | Total Hours: 0
Internal?: 0 |
--------------------------------------------+----------------------------
Changes (by vorner):
* subproject: => DNS
* severity: => N/A
Comment:
#define is bad, it is a symbol you can't get rid off by namespaces, local
declarations, etc. We try to avoid defines in the code, in headers doubly
so.
Anyway, templates have slightly different rules about this. AFAIK this
should be legal and the linker is mandated to fold the initializations
into single one.
--
Ticket URL: <http://bind10.isc.org/ticket/837#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list