Subject: [Boost-bugs] [Boost C++ Libraries] #2362: quick_allocator not declared
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-23 23:51:31
#2362: quick_allocator not declared
----------------------------------------------------------+-----------------
Reporter: Matthew Downey <matthew.downey_at_[hidden]> | Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: serialization
Version: Boost 1.36.0 | Severity: Problem
Keywords: |
----------------------------------------------------------+-----------------
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.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2362> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC