boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
199 stars 161 forks source link

Broken on g++ #232

Closed pdimov closed 5 years ago

pdimov commented 6 years ago

https://travis-ci.org/boostorg/boost/builds/426912551

./boost/thread/detail/thread_safety.hpp:74:62: error: missing binary operator before token "("
 #if defined(__clang__) && (!defined(SWIG)) && __has_attribute(no_thread_safety_analysis) && defined(__FreeBSD__)
                                                              ^
viboes commented 5 years ago

Sorry, I believed that the expression would be evaluated only if __clang__ was defined

viboes commented 5 years ago

https://github.com/boostorg/thread/commit/92a5bc43003db14000b7f4d51c88bd4164258456

pdimov commented 5 years ago

Looks fixed: https://travis-ci.org/boostorg/boost/builds/428926383