|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-01-03 10:49:53
Martin Wille <mw8329_at_[hidden]> writes:
> Larry Evans wrote:
>
>> I tried changing v1/como-tools.jam with following line:
>>
>> flags como DEFINES <define> : _POSIX_SOURCE ;
>>
>> but it had no effect. Maybe someone else knows how to make the change?
>
> Adding -D_POSIX_SOURCE isn't sufficient, anyway.
> Currently, the implementation of Boost.Test is broken
> for como/linux. The implementation exploits the
> fact that siglongjmp behaves well together with
> exception handling for some compiler. However,
> it doesn't behave as well for como. We're in UB land
> here.
>
> I informed Comeau Computing about that problem
> and also posted a message on the Boost developers
> mailing list regarding this problem. Comeau Computing
> is still analysing the problem, AFAIK. It may be
> that a future como/linux version will support exception
> handling together with siglongjmp.
>
> Fow now, the best thing that can be done is to
> disable the sigaction code in Boost.Test for
> como/linux.
And for everything other than compilers known to support this
integration. For example, GCC2 also doesn't do it, and I'm fairly
sure that GCC3 doesn't do it on all platforms (e.g. Cygwin).
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk