Opened 9 years ago
Closed 9 years ago
#8641 closed Bugs (fixed)
[serialization] detail/shared_count_132.hpp fails to compile if BOOST_SP_ENABLE_DEBUG_HOOKS is defined
| Reported by: | Owned by: | Robert Ramey | |
|---|---|---|---|
| Milestone: | Boost 1.54.0 | Component: | serialization |
| Version: | Boost 1.53.0 | Severity: | Problem |
| Keywords: | serialization BOOST_SP_ENABLE_DEBUG_HOOKS cbi_call_constructor_hook cbi_call_destructor_hook | Cc: |
Description
detail/shared_ptr_132.hpp lives mainly under boost_132 namespace. It has two function declarations (for shared_ptr debug hooks) that use checked_deleter and checked_array_deleter; Of course, these live under boost namespace.
As neither are brought under boost_132 (for obvious reasons) or have proper namespace prefixes anything that includes shared_ptr_132.hpp and has BOOST_SP_ENABLE_DEBUG_HOOKS defined fails to compile.
A trivial fix is to add boost namespace prefixes, as done elsewhere in the file. A patch is attached that does this.
Attachments (1)
Change History (3)
by , 9 years ago
| Attachment: | shared_count_132.hpp.patch added |
|---|
comment:1 by , 9 years ago
| Summary: | [serialization] detail/shared_ptr_132.hpp fails to compile if BOOST_SP_ENABLE_DEBUG_HOOKS is defined → [serialization] detail/shared_count_132.hpp fails to compile if BOOST_SP_ENABLE_DEBUG_HOOKS is defined |
|---|
Oh my, it's detail/shared_count_132.hpp *not* detail/shared_ptr_132.hpp. Unfortunaly, it seems that I'm not able to modify description in the original ticket.
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
I'm taking your word for this and applying the patch.
Robert Ramey

Add boost namespace prefix to checked_deleter and checked_array_deleter.