Skip to content

Version 1.9.1

Compare
Choose a tag to compare
@gabime gabime released this 27 Jul 12:57
· 657 commits to v1.x since this release
5b4c4f3
  • 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 !