Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-09-03 12:13:52


On Wednesday 03 September 2003 07:49 am, Klaus Ahrens wrote:
> Thread model: posix
> gcc version 3.3 20030226 (prerelease) (SuSE Linux)

Grrrr. This has been fixed in the FSF GCC 3.3.

> i get an internal error
>
> .../boost-1.30.2/boost/function/function_template.hpp:389: internal
> compiler error: in
> c_expand_expr, at c-common.c:4321
>
> maybe the expression in clear() is too complicated ?
>
>
> 389: function_base::functor =
> function_base::manager(function_base::functor,
> detail::function::destroy_functor_tag);
>
> is there any known work around?

I believe you can replace that statement with:

this->functor =
   this->manager(this->functor,
                         detail::function::destroy_functor_tag);

and it should work.

        Doug


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