Boost logo

Boost :

From: Noel Belcourt (kbelco_at_[hidden])
Date: 2005-12-14 12:24:44


On Dec 12, 2005, at 5:53 PM, Eric Niebler wrote:

>
> Noel Belcourt wrote:
>>>
>>> If someone with cw-9_4 felt like being charitable this holiday
>>> season,
>>> they could run xpressive's "test_static" and/or "test_dynamic" tests
>>> under a debugger and send me the stack trace. Or grant me ssh access
>>> to
>>> a machine with this toolset so I can debug it myself.
>>
>> I can assist if it's okay to use CW 9.6?
>
> That's a generous offer, and the results will be interesting, but I
> suspect the problem won't expose itself with 9.6, since the test_static
> test passed with cw-9_5 even before my fixes. I'm guessing this is a
> cw-9_4-specific problem, but I can't say for sure at this point.

There is a problem compiling Xpressive's test_static and test_dynamic
with CW 9.6. The error is in test/impl/execution_monitor.ipp, lines
86-88.

# include <unistd.h>
# include <signal.h>
# include <setjmp.h>

These include files are defined in CW's standard library (MSL) and they
hide the ones in /usr/include. The MSL doesn't seem to define the full
(or maybe the correct) set of signal handling functions and structures.

Xpressive's test_static and test_dynamic compile and run without error
if I change the includes to

# include </usr/include/unistd.h>
# include </usr/include/signal.h>
# include </usr/include/setjmp.h>

Can anyone suggest a workaround for this?

-- Noel


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