You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before V1.13/12/11..., spdlog can support the Win32xx CString Class,
Now on V1.14 or 1.14.1, compile report
static_assert(
formattable,
"Cannot format an argument. To make type T formattable provide a "
"formatter specialization: https://fmt.dev/latest/api.html#udt");
return {arg_mapper().map(val)};
I don't know which version you are using, but the compile error message explains it all. You have not defined fmt::formatter<CString>, which is the cause of the compile error.
See: #2825 (comment)
soncfe
changed the title
V14 don't support Win32xx.CString
V1.14 don't support Win32xx.CString
May 24, 2024
soncfe
changed the title
V1.14 don't support Win32xx.CString
V1.14 don't support Win32xx.CString on vs2017
May 24, 2024
CString abc = "123";
spdlog::default_logger_raw()->info("{}", abc);
Before V1.13/12/11..., spdlog can support the Win32xx CString Class,
Now on V1.14 or 1.14.1, compile report
static_assert(
formattable,
"Cannot format an argument. To make type T formattable provide a "
"formatter specialization: https://fmt.dev/latest/api.html#udt");
return {arg_mapper().map(val)};
https://github.com/DavidNash2024/Win32xx
The text was updated successfully, but these errors were encountered: