CARB_FAKE_PRINTF
Defined in carb/logging/Log.h
-
CARB_FAKE_PRINTF(fmt, ...)
A printf that will never be executed but allows the compiler to test if there are format errors.
This is a no-op on GCC and Clang because they support
__attribute__((format))
.- Parameters
fmt – The printf format specifier
... – Optional arguments