Skip to content

Build warning in 6.2.1 on Windows using MSVC 19.25.28614 in C++20 mode #1722

@0x8000-0000

Description

@0x8000-0000

Getting this error when building with /W4 /WX

C:\Users\fiucha\.conan\data\fmt\6.2.1\_\_\package\3fb49604f9c2f729b85ba3115852006824e72cab\include\fmt/chrono.h(783,1): error C2220: the following warning is treated as an error [C:\Users\fiucha\source\repos\tng.conan\lib\tng\log\logger_impl.vcxproj]
C:\Users\fiucha\.conan\data\fmt\6.2.1\_\_\package\3fb49604f9c2f729b85ba3115852006824e72cab\include\fmt/chrono.h(783,1): warning C4127: conditional expression is constant [C:\Users\fiucha\source\repos\tng.conan\lib\tng\log\logger_impl.vcxproj]
C:\Users\fiucha\.conan\data\fmt\6.2.1\_\_\package\3fb49604f9c2f729b85ba3115852006824e72cab\include\fmt/chrono.h(783,1): message : consider using 'if constexpr' statement instead [C:\Users\fiucha\source\repos\tng.conan\lib\tng\log\logger_impl.vcxproj]

Metadata

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