MSVC: Add compiler printf validation

This commit is contained in:
SupSuper 2021-05-28 06:15:10 +01:00 committed by Filippos Karapetis
parent 4dbeda0f56
commit e3d082df65
6 changed files with 22 additions and 14 deletions

View file

@ -208,7 +208,7 @@ static const char HELP_STRING[] =
static const char *s_appName = "scummvm";
static void NORETURN_PRE usage(const char *s, ...) GCC_PRINTF(1, 2) NORETURN_POST;
static void NORETURN_PRE usage(MSVC_PRINTF const char *s, ...) GCC_PRINTF(1, 2) NORETURN_POST;
static void usage(const char *s, ...) {
char buf[STRINGBUFLEN];