clang issues -Wformat-nonliteral when `vsnprintf` is passed the format
string from its caller. This is generally not useful. Fortunately, the
warning can be suppressed by annotating the function as format(printf).
Presumably, this is because clang now trusts that the caller would have
been warned for a bad format string.
Reported-by: kreatordxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/369>
Fixes:
|
||
---|---|---|
.. | ||
bmread.cpp | ||
descent.cfg | ||
escort.cpp | ||
gamepal.cpp | ||
inferno.ini | ||
libmve.h | ||
movie.cpp | ||
movie.h | ||
physfsrwops.h |