Skip to content
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

clang++-6.0 (6.0.0-svn321357-1) warning #892

Closed
mgerhardy opened this issue Dec 24, 2017 · 1 comment
Closed

clang++-6.0 (6.0.0-svn321357-1) warning #892

mgerhardy opened this issue Dec 24, 2017 · 1 comment

Comments

@mgerhardy
Copy link

Getting this warning with compiling with clang++ 6.0

/home/mgerhardy/dev/engine/src/modules/core/json.hpp:6323:20: warning: result of comparison of 0 <= unsigned expression is always true [-Wtautological-unsigned-zero-compare]
        return ((0 <= u and u <= 127) ? 0
                 ~ ^  ~
@nlohmann
Copy link
Owner

This warning has been resolved some while ago, see 8af49d4be#diff-d525c458d12b63b74e3cf18acbbe25bbR6323.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants