Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-10-28 16:19:59


The boost pool allocator does not compile with gcc 3.0.2 (see below). It did
compile with gcc 3.0.1, though.

See this gcc bug report:

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4629&database=gcc

(This report doesn't yet reflect 3.0.2.)

Jens Maurer

/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp: In member function `char*
   boost::details::PODptr<SizeType>::ptr_next_ptr() const':
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp:95: non-constant `sizeof
   (void*)' cannot be used as template argument
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp: In member function
   `SizeType boost::details::PODptr<SizeType>::element_size() const':
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp:113: non-constant `sizeof
   (void*)' cannot be used as template argument
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp: At global scope:
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp:142: non-constant `sizeof
   (void*)' cannot be used as template argument
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp: In member function `void*
   boost::pool<UserAllocator>::malloc_need_resize()':
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp:419: non-constant `sizeof
   (void*)' cannot be used as template argument
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp: In member function `void*
   boost::pool<UserAllocator>::ordered_malloc_need_resize()':
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp:443: non-constant `sizeof
   (void*)' cannot be used as template argument
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp: In member function `void*
   boost::pool<UserAllocator>::ordered_malloc(typename
   UserAllocator::size_type)':
/home/jmaurer/Boost/boost.write/boost/pool/pool.hpp:502: non-constant `sizeof
   (void*)' cannot be used as template argument
(more of that)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk