diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-01 00:51:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-01 00:51:11 +0300 |
commit | b0db328a5ea1cbf7137d65e4604cc70f4225f40f (patch) | |
tree | ec79b09003135fa2385025740e56ebf40830ea4b /src | |
parent | 5ea7ba0c30836d3260f5fb54fff6a139c2dd1a85 (diff) | |
download | manaplus-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.tar.gz manaplus-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.tar.bz2 manaplus-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.tar.xz manaplus-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.zip |
Guard include sdltcpnet.h with pragma in all files.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/ea/network.h | 4 | ||||
-rw-r--r-- | src/net/ipc.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/net/ea/network.h b/src/net/ea/network.h index 61d797a85..508f85429 100644 --- a/src/net/ea/network.h +++ b/src/net/ea/network.h @@ -24,7 +24,11 @@ #define NET_EA_NETWORK_H #include "net/serverinfo.h" + +PRAGMACLANG6(GCC diagnostic push) +PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast") #include "net/sdltcpnet.h" +PRAGMACLANG6(GCC diagnostic pop) struct PacketInfo; diff --git a/src/net/ipc.h b/src/net/ipc.h index 934085736..667949f2b 100644 --- a/src/net/ipc.h +++ b/src/net/ipc.h @@ -21,7 +21,12 @@ #ifndef NET_IPC_H #define NET_IPC_H +#include "localconsts.h" + +PRAGMACLANG6(GCC diagnostic push) +PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast") #include "net/sdltcpnet.h" +PRAGMACLANG6(GCC diagnostic pop) #include <string> #include <vector> |