Opened 9 years ago

Last modified 7 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 9 years ago.

Download all attachments as: .zip

Change History (3)

by anonymous, 9 years ago

Attachment: src.patch added

comment:1 by myasnikovmaksim@…, 9 years ago

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

comment:2 by anonymous, 7 years ago

The issue still exists in Boost 1.58.0

Note: See TracTickets for help on using tickets.