-
Notifications
You must be signed in to change notification settings - Fork 86
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
Conflict with Boost. #62
Comments
Can you show a small stand alone test program that exposes this problem? On the face of it, I don't understand why there would be a conflict, and my small experiment compiled and worked. Also, which compiler are you using? (MSVC, it looks like, but which version?) Or is "blendet globale Deklaration" to say that it warns that there may be a misunderstanding about which _1 is meant, even though the C++ rules are clear? (I'm afraid my German was terrible 30 years ago, and has not improved with time.) If so, I fear there's not much I can do. It should also complain that boost _1 is in conflict with std::placeholders. Does it? What happens if you include both <boost/bind/placeholders.h> and , and use std::bind? |
It should be MSVC from Visual Studio 2017 (15.3.409.57025) English warning text: warning C4459: declaration of '_1' hides global declaration |
We have resolved the issue on our side. For the record: Defining |
Hello, the following function (and any similar one which defines placeholders such as _1 ...) conflicts with boost::placeholders::_1 and produces warnings.
The produced error is "Declaration of _... hides global declaration":
The text was updated successfully, but these errors were encountered: