-
Support for {fmt}'s compile time validation of format strings (#2008). Thanks @dkavolis !
In C++20:spdlog::info("{:d}", "bad format_arg"); // should not compile
In C++14/17 - format string can be validated at compile time using FMT_STRING:
spdlog::info(FMT_STRING("{:d}"), "bad format_arg"); // should not compile
-
Fixed compilation error in Clang 13 with C++20 (#2011, #2013) Thanks @sjanel !