Skip to content

set_dynamic_spec compares signed integers against unsigned #1319

Closed
@rwy7

Description

the problematic comparison is at include/fmt/format.h:2091, resulting in this message:

../external/fmt/include/fmt/format.h:2091:17: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
 2091 |   if (big_value > max_value<int>()) eh.on_error("number is too big");

The complete error message is quite large due to template expansion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions