Join GitHub today
Compile time checking of format string? #295
Unfortunately it is not possible (at least with a usable API) at the moment because of the difficulties of handling string literals that @nabijaczleweli mentioned.
However, you can get compile-time checking of
Compile-time format string checks are now available: http://zverovich.net/2017/11/05/compile-time-format-strings.html