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
win10, MSVC, c++17, spdlog 1.15.0, no external fmt, spdlog added as add_subdirectory(spdlog) into a project.
add_subdirectory(spdlog)
The #define SPDLOG_LEVEL_NAMES { "TRCE", "DBUG", "INFO", "WARN", "ERRR", "CRIT", "OFF" } in the tweakme.h
#define SPDLOG_LEVEL_NAMES { "TRCE", "DBUG", "INFO", "WARN", "ERRR", "CRIT", "OFF" }
tweakme.h
creates
spdlog\common-inl.h(19): error C2131: expression did not evaluate to a constant
Also in the common-inl.h __cplusplus evaluate to 199711L, so probably something wrong with the cmake "/Zc:__cplusplus" option. it is not.
common-inl.h
__cplusplus
199711L
as mentioned in the #3233
commenting the constexpr fixes the problem or
constexpr
#include <string_view> using namespace std::literals; #define SPDLOG_LEVEL_NAMES {"TRCE"sv, "DBUG"sv, "INFO"sv, "WARN"sv, "ERRR"sv, "CRIT"sv, "OFF"sv}
The text was updated successfully, but these errors were encountered:
PR is welcome: #3233 (comment)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
win10, MSVC, c++17, spdlog 1.15.0, no external fmt,
spdlog added as
add_subdirectory(spdlog)
into a project.The
#define SPDLOG_LEVEL_NAMES { "TRCE", "DBUG", "INFO", "WARN", "ERRR", "CRIT", "OFF" }
in thetweakme.h
creates
Also in theit is not.common-inl.h
__cplusplus
evaluate to199711L
,so probably something wrong with the cmake "/Zc:__cplusplus" option.
as mentioned in the #3233
commenting the
constexpr
fixes the problemor
The text was updated successfully, but these errors were encountered: