Boost logo

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"

====== 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)

I might be totally off track here, but the warning seems genuine.


Boost list run by bdawes at, gregod at, cpdaniel at, john at