-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Ambiguous compare operators with clang-5.0 #547
Labels
solution: duplicate
the issue is a duplicate; refer to the linked issue instead
Comments
Could this be a duplicate of #512? |
It is. Sorry for not checking the existing issues. |
No problem, thanks for reporting anyway! I unfortunately did not find the time to fix it. I'm using Clang 5 myself, but did not run into this issue myself. |
nlohmann
added
the
solution: duplicate
the issue is a duplicate; refer to the linked issue instead
label
Apr 5, 2017
Fixed, see #512. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code:
Gives me a bunch of
error: use of overloaded operator '>=' is ambiguous (with operand types 'int' and 'const value_type' (aka 'const nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer>'))
errors when using clang-5.0 (5.0.0-svn294894-1) . Where with gcc 6.3 everything is fine, no moaning.
I know that this version of clang is from the dev-tree (iiuc), but I'm creating this issue to see whether there is something to be done here or on clang's side?
(I'm using 2.1.1 of this library).
The text was updated successfully, but these errors were encountered: