Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-12-22 04:59:04


Sean Kevin O'Keeffe wrote:
> I am unable to compile the pool test program using gcc version 3.0 even
> though the compiler status page reports successful compilation with this
> version. (I'm using Debian testing version 3.0.2)

The status page shows successful compilation with gcc 3.0.1.

> The compile fails when it tries to use sizeof(void *) as a template argument.
>
> Is this a bug I should report to the GCC team? Has anyone out got this to
> compile with gcc 3.0.2?

This is a bug that got introduced in gcc 3.0.2. I thought I had reported
it, but can't find the gcc gnats bug id at the moment.
gcc 3.0.1 works fine as do newer CVS versions of gcc.

Consider downgrading to gcc 3.0.1 if you need Boost.Pool.
(Note that gcc 3.0.2 has an important bugfix for exception handling
on SPARC CPUs that, for me, got rid of coredumps in a commercial project.)

Jens Maurer


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