diff --git a/ChangeLog.rst b/ChangeLog.rst index c0afc324..5cd57f9a 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,7 +1,8 @@ 8.0.0 - TBD ----------- -* Enabled compile-time check by default. For example +* Enabled compile-time format string check by default. + For example (`godbolt `__): .. code:: c++ @@ -15,6 +16,12 @@ (gcc 10+, clang 11+) because ``d`` is not a valid format specifier for a string. + To pass a runtime string wrap it in ``fmt::runtime``: + + .. code:: c++ + + fmt::print(fmt::runtime("{:d}"), "I am not a number"); + * Added compile-time formatting (`#2019 `_, `#2044 `_,