MSVC: Add compiler printf validation
This commit is contained in:
parent
4dbeda0f56
commit
e3d082df65
6 changed files with 22 additions and 14 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue