Boost logo

Boost-Build :

From: Martin Wille (mw8329_at_[hidden])
Date: 2004-01-02 09:39:43


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.

Regards,
m

 


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