summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-24 12:11:50 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-24 20:56:31 -0700
commit68e59795393b5b26c7c61f71bb7b654d9be36220 (patch)
treedc432b0986c3bf8dbb8b7720a78acdeacd5a599f /crawl-ref/source/AppHdr.h
parent92822bfc9847066fa84d240f3c3cb7902467661b (diff)
downloadcrawl-ref-68e59795393b5b26c7c61f71bb7b654d9be36220.tar.gz
crawl-ref-68e59795393b5b26c7c61f71bb7b654d9be36220.zip
msvc: add x86_64 build support
This updates all the contrib projects for this support as well. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index 5f2cf6fa0c..9ec6d523fa 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -22,8 +22,11 @@
#include "platform.h"
#ifdef TARGET_COMPILER_VC
-/* Disable warning about the way VC handles the throw() specifier */
-#pragma warning (disable: 4290)
+/* Disable warning about:
+ 4290: the way VC handles the throw() specifier
+ 4267: "possible loss of data" when switching data types without a cast
+ */
+#pragma warning (disable: 4290 4267)
/* Don't define min and max as macros, define them via STL */
#define NOMINMAX
#endif