-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Ubuntu 20.04
Using C++ 20 . Errors below:
home/xxxxx/code/xxxx/build/_deps/spdlog-src/include/spdlog/fmt/bundled/core.h:2988:22: error: ‘constexpr void fmt::v9::basic_format_parse_context<Char, ErrorHandler>::on_error(const char*) [with Char = char; ErrorHandler = fmt::v9::detail::error_handler]’ called in a constant expression 2988 | context_.on_error(message); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/xxxxx/code/xxx/build/_deps/spdlog-src/include/spdlog/fmt/bundled/core.h:717:22: note: ‘constexpr void fmt::v9::basic_format_parse_context<Char, ErrorHandler>::on_error(const char*) [with Char = char; ErrorHandler = fmt::v9::detail::error_handler]’ is not usable as a ‘constexpr’ function because: 717 | FMT_CONSTEXPR void on_error(const char* message) { | ^~~~~~~~ /home/xxxx/code/xxx/build/_deps/spdlog-src/include/spdlog/fmt/bundled/core.h:718:27: error: call to non-‘constexpr’ function ‘void fmt::v9::detail::error_handler::on_error(const char*)’ 718 | ErrorHandler::on_error(message);