Opened 5 years ago

Last modified 3 years ago

#9458 new Bugs

Boost Locale not compiling when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined

Reported by: myasnikovmaksim@… Owned by: Artyom Beilis
Milestone: To Be Determined Component: locale
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Boost Locale uses Boost Thread lock types which definitions are not included through <boost/thread/mutex.hpp> when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined (this macro is defined when BOOST_THREAD_VERSION is set to 4).
I suggest to include <boost/thread/lock_types.hpp> in every file that uses any lock type.
Since I build Boost only on Windows platforms attached patch may be incomplete.
Best regards, Maksim.

Attachments (1)

src.patch (1.5 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by anonymous

Attachment: src.patch added

comment:1 Changed 5 years ago by myasnikovmaksim@…

Component: statechartlocale
Owner: changed from Andreas Huber to Artyom Beilis

comment:2 Changed 3 years ago by anonymous

The issue still exists in Boost 1.58.0

Note: See TracTickets for help on using tickets.