adjust for recently released MS Visual Studio 2019

win\curses\cursstat.c(886) : error C4703: potentially uninitialized local pointer variable 'p' used
This commit is contained in:
nhmall
2019-04-09 00:35:02 -04:00
parent 0e425d645f
commit 5258bb0ed4
4 changed files with 32 additions and 28 deletions

View File

@@ -1,11 +1,11 @@
Copyright (c) NetHack Development Team 1990-2018
Copyright (c) NetHack Development Team 1990-2019
NetHack may be freely redistributed. See license for details.
==============================================================
Instructions for compiling and installing
NetHack 3.6 on a Windows system
(Windows 7/8.x/10 or later only. XP may work but is untested)
==============================================================
Last revision: $NHDT-Date: 1542545993 2018/11/18 12:59:53 $
Last revision: $NHDT-Date: 1554784481 2019/04/09 04:34:41 $
Credit for the porting of NetHack to the Win32 Console Subsystem goes to
the NT Porting Team started by Michael Allison.
@@ -21,7 +21,8 @@ of the tty and graphical windows versions of NetHack 3.6.2.
You can build a TTY version of NetHack and a Windows Graphical
version. You can use one of the following build environments:
o A copy of Microsoft Visual Studio 2017 Community Edition
o A copy of Microsoft Visual Studio 2017 Community Edition or
a copy of Microsoft Visual Studio 2019 Community Edition
OR
@@ -65,6 +66,14 @@ of NetHack you wish to run.
The Visual Studio 2017 NetHack solution file can be found here:
win\win32\vs2017\NetHack.sln
You can use that same win\win32\vs2017\NetHack.sln with Visual Studio 2019,
but you may have to retarget the projects:
Windows SDK Version: 10.0.17763.0 [ There have been some reports of
difficulties if you instead choose
"10.0 (latest installed version)" ]
Platform Toolset: Upgrade to v142
Before executing the steps to build listed in the next paragraph,
decide if you want to include optional curses window-port. See
the note just below entitled "Optional curses window-port support."