From dc1d9e2d6521aea75b69c03051c73b5cac9180f8 Mon Sep 17 00:00:00 2001 From: Fiodar Stryzhniou Date: Tue, 2 Jan 2018 03:07:45 +0300 Subject: SYMBIAN: Hide warnings from system headers --- backends/platform/symbian/src/portdefs.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'backends/platform') diff --git a/backends/platform/symbian/src/portdefs.h b/backends/platform/symbian/src/portdefs.h index f9e0d04064..7729145eac 100644 --- a/backends/platform/symbian/src/portdefs.h +++ b/backends/platform/symbian/src/portdefs.h @@ -30,9 +30,17 @@ #include #include #include -#include +#if (__GNUC__ && __cplusplus) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wreturn-local-addr" +#endif +#include #include +#if (__GNUC__ && __cplusplus) +#pragma GCC diagnostic pop +#endif + #include /* define pi */ @@ -53,6 +61,17 @@ typedef unsigned short int uint16; typedef signed short int int16; typedef unsigned long int uint32; typedef signed long int int32; +typedef signed long long int64; +typedef unsigned long long uint64; + +#ifdef __cplusplus +namespace std + { + + using ::size_t; + + } // namespace std +#endif // Define SCUMMVM_DONT_DEFINE_TYPES to prevent scummsys.h from trying to // re-define those data types. -- cgit v1.2.3