Opened 14 years ago
Closed 14 years ago
#2362 closed Bugs (fixed)
quick_allocator not declared
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | serialization |
Version: | Boost 1.36.0 | Severity: | Problem |
Keywords: | Cc: |
Description
After including some serialization headers, I am getting the compile error:
boost/serialization/detail/shared_count_132.hpp:295: error: `quick_allocator' was not declared in this scope boost/serialization/detail/shared_count_132.hpp:300: error: `quick_allocator' was not declared in this scope
It seems that on my system, quick_allocator needs to be qualified fully (boost::detail::quick_allocator). Putting a "using boost::detail::quick_allocator" before the #include is a quick fix to this problem.
My system information is Linux version 2.6.9-42.ELlargesmp (gcc version 3.4.6 20060404 (Red Hat 3.4.6-2)). This doesn't occur on Windows using MSVC8.