diff options
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 7 |
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 |