summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-06 22:23:03 +0100
committermadmaxoft <github@xoft.cz>2014-01-06 22:23:03 +0100
commit778c329ad2ff9af5595b695fc264b9fc2ad3d538 (patch)
tree4b34f37df758992eab5bfb8850b301fa387c5c8e
parentFixed a few MSVC warnings. (diff)
downloadcuberite-778c329ad2ff9af5595b695fc264b9fc2ad3d538.tar
cuberite-778c329ad2ff9af5595b695fc264b9fc2ad3d538.tar.gz
cuberite-778c329ad2ff9af5595b695fc264b9fc2ad3d538.tar.bz2
cuberite-778c329ad2ff9af5595b695fc264b9fc2ad3d538.tar.lz
cuberite-778c329ad2ff9af5595b695fc264b9fc2ad3d538.tar.xz
cuberite-778c329ad2ff9af5595b695fc264b9fc2ad3d538.tar.zst
cuberite-778c329ad2ff9af5595b695fc264b9fc2ad3d538.zip
Diffstat (limited to '')
-rw-r--r--src/Globals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h
index a761da404..1765c53d8 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -22,11 +22,13 @@
#pragma warning(3 : 4245) // Conversion from 'type1' to 'type2', signed/unsigned mismatch
#pragma warning(3 : 4389) // Signed/unsigned mismatch
#pragma warning(3 : 4701) // Potentially unitialized local variable used
- #pragma warning(3 : 4244) // Conversion from 'type1' to 'type2', possible loss of data
#pragma warning(3 : 4310) // Cast truncates constant value
#pragma warning(3 : 4505) // Unreferenced local function has been removed
#pragma warning(3 : 4127) // Conditional expression is constant
#pragma warning(3 : 4706) // Assignment within conditional expression
+
+ // 2014_01_06 xoft: Disabled this warning because MSVC is stupid and reports it in obviously wrong places
+ // #pragma warning(3 : 4244) // Conversion from 'type1' to 'type2', possible loss of data
#define OBSOLETE __declspec(deprecated)