]> granicus.if.org Git - nethack/commitdiff
Ensure VS2013 64-bit compiler drops to warning level -W3
authornhmall <mjnh@persona.ca>
Thu, 19 Nov 2015 03:41:30 +0000 (22:41 -0500)
committernhmall <mjnh@persona.ca>
Thu, 19 Nov 2015 03:41:30 +0000 (22:41 -0500)
This doesn't fix the cppregex.cpp issue. This just eliminates
about 10,000 warnings.

sys/winnt/Makefile.msc

index 6a0d1f976cfbd9a1c5681fc39c283411e163bef1..5351af99cca50e463db5d7089e85e84289929059 100644 (file)
@@ -1,4 +1,4 @@
-# NetHack 3.6  Makefile.msc    $NHDT-Date: 1437224566 2015/07/18 13:02:46 $  $NHDT-Branch: master $:$NHDT-Revision: 1.95 $ */
+# NetHack 3.6  Makefile.msc    $NHDT-Date: 1447904466 2015/11/19 03:41:06 $  $NHDT-Branch: master $:$NHDT-Revision: 1.96 $ */
 #       Copyright (c) NetHack PC Development Team 1993-2015
 #
 #==============================================================================
@@ -61,10 +61,10 @@ VSVER=0000          #untested version
 !IF ($(VSVER) >= 2013)
 #
 # 64 bit
-#TARGET_CPU=x64
+TARGET_CPU=x64
 #
 # 32 bit
-TARGET_CPU=x86
+#TARGET_CPU=x86
 
 !ELSE
 # For VS2010 use "setenv /x86" or "setenv /x64" before invoking make process
@@ -218,6 +218,9 @@ scall  =
 !IF "$(_NMAKE_VER)" == "10.00.40219.01"
 cflags = $(cflags:-W4=-W3)
 !ENDIF
+!IF "$(_NMAKE_VER)" == "12.00.21005.1"
+cflags = $(cflags:-W4=-W3)
+!ENDIF
 
 #More verbose warning output options below
 #cflags = $(cflags:-W4=-wd4131