Opened 13 years ago

Closed 13 years ago

#3122 closed Bugs (fixed)

test_lock_concept fails to compile with gnu++0x

Reported by: Niklas Angare <li51ckf02@…> Owned by: Anthony Williams
Milestone: Boost 1.40.0 Component: thread
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

test_lock_concept fails to compile with GCC 4.3.3 and 4.4.0 with --std=gnu++0x. One of the error messages is:
boost/thread/locks.hpp:688: error: 'class boost::recursive_timed_mutex' has no member named 'unlock_and_lock_upgrade'

The same errors occur for the NA-QNX641-qcc-gnu0x, RW_Mingw and Sandia-gcc test runners.

Full log: http://tinyurl.com/ql6efq

Attachments (1)

locks.hpp.patch (1.1 KB ) - added by Steven Watanabe 13 years ago.
Fix for the problem

Download all attachments as: .zip

Change History (3)

by Steven Watanabe, 13 years ago

Attachment: locks.hpp.patch added

Fix for the problem

comment:1 by Niklas Angare <li51ckf02@…>, 13 years ago

Great! My latest run of NA-QNX641-qcc-gnu0x was with the patch and all the tests for Boost.Thread passed.

comment:2 by anonymous, 13 years ago

Resolution: fixed
Status: newclosed

Fixed on trunk

Note: See TracTickets for help on using tickets.