Opened 9 years ago

Closed 9 years ago

#9461 closed Patches (fixed)

Boost Regex will not compile portable implementation of boost::scoped_static_mutex_lock when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined

Reported by: myasnikovmaksim@… Owned by: John Maddock
Milestone: To Be Determined Component: regex
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Portable implementation of boost::scoped_static_mutex_lock is based on boost::mutex::scoped_lock typedef which is not accessible when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined (this macro is defined when BOOST_THREAD_VERSION is set to 4).
I suggest to replace scoped_lock typedefs with explicit boost::unique_lock usage.
Best regards, Maksim.

Attachments (1)

static_mutex.patch (1.3 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 9 years ago

Attachment: static_mutex.patch added

comment:1 by John Maddock, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in Git develop.

Note: See TracTickets for help on using tickets.