Ticket #7052 (closed Bugs: fixed)
Thread: BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0 only masks thread::operator==, thread::operator!= forward declarations, not definitions
|Reported by:||pekka.seppanen@…||Owned by:||viboes|
|Keywords:||thread BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0 thread::operator== thread::operator!=||Cc:|
If BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0 is not defined, it only masks thread::operator== and thread::operator!= declarations at boost/thread/detail/thread.hpp:411-416 but not the actual definitions at lines 585-593.
This naturally leads to a compile error, as we're trying to define operators are not declared.
Attached a proposed patch. Simply adds the same define guard around the definitions.
- Owner changed from anthonyw to viboes
- Status changed from new to assigned
- Milestone changed from To Be Determined to Boost 1.51.0