mirror of https://github.com/gabime/spdlog.git
Add missing xchat.h header for fmt > 11.0.2
using fmt main branch, after the 11.0.2 release, `fmt::basic_format_string` is defined in `xchar.h`. Otherwise compile error: ``` spdlog/common.h:369:49: error: no template named 'basic_format_string' in namespace 'fmt'; did you mean 'std::basic_format_string'? [build] 369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) { [build] | ^~~~~ [build] /usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:128:12: note: 'std::basic_format_string' declared here [build] 128 | struct basic_format_string [build] | ^ [build] 1 error generated. ```pull/3274/head
parent
951c5b9987
commit
e842aa18f5
Loading…
Reference in New Issue