Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-23 15:51:18


JOAQUIN LOPEZ MU?Z wrote:
> So, if we fix the problem with Boost.Test we'll get a much
> higher success rate. In its turn, the problem with Boost.Test
> seems to lie in that it includes (directly or indirectly, I don't
> know) the file boost/detail/interlocked.hpp, which fails as
> shown in http://tinyurl.com/73vvo.

Indirectly. interlocked.hpp is included by shared_ptr.hpp on Windows. Comeau
doesn't compile it even without --a, because it doesn't seem to recognize
__stdcall. And since the functions that interlocked.hpp attempts to import
from the Windows kernel are indeed __stdcall, this makes it impossible for
interlocked.hpp to do its job.

This can be fixed by defining BOOST_SP_DISABLE_THREADS for the Comeau
toolset.


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