New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X: Error: no matching constructor for initialization of 'hpx::lcos::local::condition_variable_any' #2261
Comments
The error itself is sane, |
Does this happen while compiling HPX Itself or while compiling your application? |
Happens when compiling HPX itself. I compile using: (With system clang the well known thread-local storage error appears of course, sorry for the confusion). Here's the output after make:
|
This looks like a bug in libc++'s |
This is caused by a NASTY combination of language corner cases, standard defects, and library implementation bugs. Fortunately the workaround should be rather simple, as depicted in the @timbiedert Would you give it a try and report back? |
Hey, it works! Even without any warnings :-) Good work! Thanks! |
When compiling the current master in OS X using default CMake configuration, I receive the following error:
/Users/tb/Downloads/hpx/hpx/util/tuple.hpp:73:17: error: no matching constructor for initialization of
'hpx::lcos::local::condition_variable_any'
: _value(std::forward(value))
Happens with both system clang and llvm 3.8.1 (Homebrew), and with both Boost 1.59.0 and Boost 1.60.0 (also both Homebrew).
The text was updated successfully, but these errors were encountered: