-
Notifications
You must be signed in to change notification settings - Fork 651
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
build error "could not bind to an lvalue of type 'const char [41]'" #1952
Comments
Thanks. Can you please check if the error also occurs in the latest testnet release?
inside your checked out core directory. |
@pureland @jmjatlanta could you test if this change fixes the problem: bitshares/bitshares-fc@78ffb6d ? |
I am unable to replicate the problem on my mac. I will take a look at my environment and see if I can cause it. |
What about fc::throw_assertion_failure( std::string(#cond) + ": " + msg); Perhaps a bit more readable. Just my opinion. I have been unable to cause the problem. I now have multiple versions of clang. Perhaps cmake is not calling the (older) clang version I am expecting. |
Not that it matters much, but that's two runtime-concatenations of strings, whereas mine is just a string literal. |
Fixed with #1949 |
Instructions
Please include a detailed Title above. Next, please complete the following sections below:
Build Error
Reference to type 'const std::string' (aka 'const basic_string<char, char_traits<char>, allocator<char> >') could not bind to an lvalue of type 'const char [41]'
Build Environment
Xcode Version 10.1 (10B61)/ clang version 4.0.1 (tags/RELEASE_401/final)
Console Logs (optional)
Build Environment
Details about the build environment, including the relevant required libraries. Much of this information can be found in the
CMakeFiles/CMakeOutput.log
.The text was updated successfully, but these errors were encountered: