summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-01 00:51:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-01 00:51:11 +0300
commitb0db328a5ea1cbf7137d65e4604cc70f4225f40f (patch)
treeec79b09003135fa2385025740e56ebf40830ea4b /src
parent5ea7ba0c30836d3260f5fb54fff6a139c2dd1a85 (diff)
downloadmv-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.tar.gz
mv-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.tar.bz2
mv-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.tar.xz
mv-b0db328a5ea1cbf7137d65e4604cc70f4225f40f.zip
Guard include sdltcpnet.h with pragma in all files.
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/network.h4
-rw-r--r--src/net/ipc.h5
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>