We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code
std::string x = fmt::format("{}", std::chrono::system_clock::now().time_since_epoch())
produces warning C4127 ("conditional expression is constant, consider using 'if constexpr' statement instead") for the following lines
fmt\chrono.h: line 75 fmt\chrono.h: line 83 fmt\chrono.h: line 94 fmt\chrono.h: line 96 fmt\chrono.h: line 197 fmt\chrono.h: line 213
Latest verification of warning with master at commit f9f02df.
The text was updated successfully, but these errors were encountered:
https://github.com/fmtlib/fmt/blob/master/include/fmt/chrono.h#L75 and similar should be wrapped in a call to const_check. A PR is welcome.
const_check
Sorry, something went wrong.
Fix bogus MSVC warnings (#1825)
cbc2eb1
77b627b
Suppressed the warnings in #1825.
No branches or pull requests
The code
std::string x = fmt::format("{}", std::chrono::system_clock::now().time_since_epoch())
produces warning C4127 ("conditional expression is constant, consider using 'if constexpr' statement instead") for the following lines
Latest verification of warning with master at commit f9f02df.
The text was updated successfully, but these errors were encountered: