Skip to content

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

@mgerhardy

Description

@mgerhardy

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
                 ~ ^  ~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions