[Scummvm-git-logs] scummvm master -> 861c0f4cf9d2c76e62006f40c2da8fb86edacb70

bluegr bluegr at gmail.com
Wed Aug 18 21:47:52 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:
861c0f4cf9 SYMBIAN: Fix counless warnings from GCC 11.2


Commit: 861c0f4cf9d2c76e62006f40c2da8fb86edacb70
    https://github.com/scummvm/scummvm/commit/861c0f4cf9d2c76e62006f40c2da8fb86edacb70
Author: Fiodar Stryzhniou (fedor_qd at mail.ru)
Date: 2021-08-19T00:47:49+03:00

Commit Message:
SYMBIAN: Fix counless warnings from GCC 11.2

Changed paths:
    backends/platform/symbian/src/portdefs.h


diff --git a/backends/platform/symbian/src/portdefs.h b/backends/platform/symbian/src/portdefs.h
index c681a2b649..bf462d41d5 100644
--- a/backends/platform/symbian/src/portdefs.h
+++ b/backends/platform/symbian/src/portdefs.h
@@ -27,10 +27,18 @@
 #include <stdarg.h>
 #include <string.h>
 #include <ctype.h>
-#include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>
 
+#if (__GNUC__ && __cplusplus)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wparentheses"
+#endif
+#include <stdlib.h>
+#if (__GNUC__ && __cplusplus)
+#pragma GCC diagnostic pop
+#endif
+
 #if (__GNUC__ && __cplusplus)
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wreturn-local-addr"




More information about the Scummvm-git-logs mailing list