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

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

Closed
0x8000-0000 opened this issue Jun 11, 2020 · 1 comment
Closed

Comments

@0x8000-0000
Copy link
Contributor

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]
vitaut added a commit that referenced this issue Jun 11, 2020
@vitaut
Copy link
Contributor

vitaut commented Jun 11, 2020

Fixed in 547f12a, thanks for reporting.

@vitaut vitaut closed this as completed Jun 11, 2020
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