|
Boost Testing : |
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2007-10-29 09:00:37
Doug Gregor wrote:
> On Oct 28, 2007, at 12:10 PM, Niko Demmel wrote:
>> On 26/10/2007 18:24, Douglas Gregor wrote:
>>> I believe I've fixed this. My results aren't showing up because even
>>> though process_jam_log gets built, regression.py isn't finding the
>>> resulting binary.
>>>
>>>
>> Have you submitted the fix? If so, I have a different issue. With
>> the a
>> svn checkout made yesterday I still had trouble building
>> process_jam_log
>>
>> darwin.compile.c++ bin/darwin/release/process_jam_log.o
>> ../../../boost/test/impl/execution_monitor.ipp: In constructor
>> 'boost::detail::signal_action::signal_action(int, bool, bool, char*)':
>> ../../../boost/test/impl/execution_monitor.ipp:541: error: expected
>> id-expression before '(' token
>>
>> Line 541 is an assertion (which shouldn't be essential)
>>
>> BOOST_TEST_SYS_ASSERT( ::sigemptyset( &m_new_action.sa_mask ) != -1 );
>>
>> I commented it out and it built just fine. Not sure whats going on...
>
> It appears that Sun C++ needs the '::' before 'sigemptyset', but
> Darwin can't have the '::' before 'sigemptyset' (because sigemptyset
> is a macro on Darwin). Gennadiy knows about the problem now (just
> sent a note to the Boost list about it).
Hi,
It seems I'm dealing with the same issue.
Two days ago I reported it on the Trac:
http://svn.boost.org/trac/boost/ticket/1383
Cheers
-- Mateusz Loskot http://mateusz.loskot.net