[Scummvm-git-logs] scummvm master -> fa5149e3acee33a823bb4733ef5cf5c601b9c5b7

SupSuper supsuper at gmail.com
Thu Jun 3 02:51:26 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fa5149e3ac COMMON: Fix old GCC compilation


Commit: fa5149e3acee33a823bb4733ef5cf5c601b9c5b7
    https://github.com/scummvm/scummvm/commit/fa5149e3acee33a823bb4733ef5cf5c601b9c5b7
Author: SupSuper (supsuper at gmail.com)
Date: 2021-06-03T03:50:51+01:00

Commit Message:
COMMON: Fix old GCC compilation

Changed paths:
    common/textconsole.h


diff --git a/common/textconsole.h b/common/textconsole.h
index dc2be2c112..8a772a9b74 100644
--- a/common/textconsole.h
+++ b/common/textconsole.h
@@ -85,7 +85,7 @@ void NORETURN_PRE error(MSVC_PRINTF const char *s, ...) GCC_PRINTF(1, 2) NORETUR
 
 #ifdef DISABLE_TEXT_CONSOLE
 
-inline void warning(MSVC_PRINTF const char *s, ...) GCC_PRINTF(1, 2) {}
+inline void GCC_PRINTF(1, 2) warning(MSVC_PRINTF const char *s, ...) {}
 
 #else
 




More information about the Scummvm-git-logs mailing list