From 68e59795393b5b26c7c61f71bb7b654d9be36220 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 24 Oct 2009 12:11:50 -0700 Subject: msvc: add x86_64 build support This updates all the contrib projects for this support as well. Signed-off-by: Steven Noonan --- crawl-ref/source/AppHdr.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/AppHdr.h') 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 -- cgit v1.2.3-54-g00ecf