From 05dc8b4ff061d0d21e2012904875f58611471071 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 May 2016 00:15:43 +0300 Subject: Disable warning -Wold-style-cast in SDL_net.h. --- src/net/sdltcpnet.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/sdltcpnet.h') diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h index 7d0a491c8..c96baf37a 100644 --- a/src/net/sdltcpnet.h +++ b/src/net/sdltcpnet.h @@ -29,7 +29,11 @@ #ifdef USE_SDL2 #pragma GCC diagnostic pop #endif + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wold-style-cast" #include +#pragma GCC diagnostic pop #include "localconsts.h" -- cgit v1.2.3-60-g2f50