summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol14x.cpp
diff options
context:
space:
mode:
authorDiusrex <killakan002@hotmail.com>2014-01-05 23:06:17 +0100
committerDiusrex <killakan002@hotmail.com>2014-01-05 23:06:17 +0100
commit2dbe5033ca30ce791e3cb28cc59f47d52225b7ae (patch)
treee5c592a520ce2c334333a28659b07df5713eb46e /src/Protocol/Protocol14x.cpp
parentMaking all of the useful level 4 warnings be active. (diff)
downloadcuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.gz
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.bz2
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.lz
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.xz
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.tar.zst
cuberite-2dbe5033ca30ce791e3cb28cc59f47d52225b7ae.zip
Diffstat (limited to 'src/Protocol/Protocol14x.cpp')
-rw-r--r--src/Protocol/Protocol14x.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Protocol/Protocol14x.cpp b/src/Protocol/Protocol14x.cpp
index 28122034c..926fe6ee8 100644
--- a/src/Protocol/Protocol14x.cpp
+++ b/src/Protocol/Protocol14x.cpp
@@ -16,7 +16,6 @@ Implements the 1.4.x protocol classes representing these protocols:
#include "../Root.h"
#include "../Server.h"
#include "../ClientHandle.h"
-#include "cryptopp/randpool.h"
#include "../Item.h"
#include "ChunkDataSerializer.h"
#include "../Entities/Player.h"
@@ -25,8 +24,20 @@ Implements the 1.4.x protocol classes representing these protocols:
#include "../Entities/Pickup.h"
#include "../Entities/FallingBlock.h"
+#ifdef _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable:4127)
+ #pragma warning(disable:4244)
+ #pragma warning(disable:4231)
+ #pragma warning(disable:4189)
+ #pragma warning(disable:4702)
+#endif
+#include "cryptopp/randpool.h"
+#ifdef _MSC_VER
+ #pragma warning(pop)
+#endif
#define HANDLE_PACKET_READ(Proc, Type, Var) \