BIND 10 #837: multiple include of initialized static constant members
BIND 10 Development
do-not-reply at isc.org
Sun Apr 24 08:03:23 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
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
-------------------------------------+---------------------------
Comment (by fdupont):
I've found another occurrence of this problem in datasrc/rbtree.h but:
const static int RBT_MAX_LEVEL = isc::dns::Name::MAX_LABELS;
- it is in a template
- the initial value is not a constant
- there is no corresponding base .cc file (no rbtree.cc)
- at the opposite it is used only in the .h file
For all these reasons I believe it should be replaced by a #define?
--
Ticket URL: <http://bind10.isc.org/ticket/837#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list