Opened 14 years ago

Closed 14 years ago

#2362 closed Bugs (fixed)

quick_allocator not declared

Reported by: Matthew Downey <matthew.downey@…> 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.

Change History (1)

comment:1 by Robert Ramey, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.