diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-01 00:15:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-01 00:15:43 +0300 |
commit | 05dc8b4ff061d0d21e2012904875f58611471071 (patch) | |
tree | 7d9964b2ea67d618f31c86b20ae00cf001499d7b /src | |
parent | b5968a38f856726b9f8ebbc896b16e924abe5698 (diff) | |
download | manaverse-05dc8b4ff061d0d21e2012904875f58611471071.tar.gz manaverse-05dc8b4ff061d0d21e2012904875f58611471071.tar.bz2 manaverse-05dc8b4ff061d0d21e2012904875f58611471071.tar.xz manaverse-05dc8b4ff061d0d21e2012904875f58611471071.zip |
Disable warning -Wold-style-cast in SDL_net.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/sdltcpnet.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <SDL_net.h> +#pragma GCC diagnostic pop #include "localconsts.h" |