![]() |
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-10-09 10:34:36
Anthony Williams wrote:
> Markus Schöpflin <markus.schoepflin_at_[hidden]> writes:
>
>> Markus Schöpflin wrote:
>>
>> [...]
>>
>>> The library compiles now without errors.
>> ... but when compiling test_mutex.cpp, there are a few issues left.
>
> Aah! It's the same typo in recursive_mutex.hpp rather than mutex.hpp. Please
> try again.
The mutex test now compiles and links, but fails on execution:
====== BEGIN OUTPUT ======
Running 6 test cases...
Assertion failed: !res, file ../../../boost/thread/pthread/mutex.hpp, line 176
unknown location(0): fatal error in "test_timed_mutex": signal: SIGABRT
(application abort requested)
test_mutex.cpp(44): last checkpoint
*** 1 failure detected in test suite "Master Test Suite"
EXIT STATUS: 201
====== END OUTPUT ======
I wonder if this is related to the warning during compilation:
cxx: Warning: ../../../boost/thread/pthread/recursive_mutex.hpp, line 250:
non-void function "boost::recursive_timed_mutex::timed_lock(const
boost::system_time &)" should return a value (D:noreturnval)
return;
----------------------^
I might be totally off track here, but the warning seems genuine.
Markus
Boost 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