boost header custom_time_zone.hpp triggers compile error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
boost1.53 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The file /usr/include/
return (dst_calc_rules_); //if calc_rule is set the tz has dst
in line 67. This line will not compile with the gcc shipped with Ubuntu Saucy Salamander. An informative discussion on this topic can be found here on stackoverflow: http://
The fix suggested in this page does indeed work.
I would therefore suggest that Ubuntu replace that line with the correct statement:
return bool(dst_
This change imposes no measurable performance or other penalty and simply makes explicit what the compiler refuses to do implicitly.