summaryrefslogtreecommitdiffstats
path: root/PCbuild/tk.vcxproj
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-07-26 22:17:57 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2017-07-26 22:17:57 (GMT)
commit679b566622ec811c5e5d580f6a538f7a43006e05 (patch)
tree52be9b1a2d2e0e567d8fa44c72a71659647460de /PCbuild/tk.vcxproj
parentf0851910eb8e711bf8f22165cb0df33bb27b09d6 (diff)
downloadcpython-679b566622ec811c5e5d580f6a538f7a43006e05.zip
cpython-679b566622ec811c5e5d580f6a538f7a43006e05.tar.gz
cpython-679b566622ec811c5e5d580f6a538f7a43006e05.tar.bz2
bpo-9566: Fix some Windows x64 compiler warnings (#2492)
* bpo-9566: Silence liblzma warnings * bpo-9566: Silence tcl warnings * bpo-9566: Silence tk warnings * bpo-9566: Silence tix warnings * bpo-9566: Fix some library warnings * bpo-9566: Fix msvcrtmodule.c warnings * bpo-9566: Silence _bz2 warnings * bpo-9566: Fixed some _ssl warnings * bpo-9566: Fix _msi warnings * bpo-9566: Silence _ctypes warnings * Revert "bpo-9566: Fixed some _ssl warnings" This reverts commit a639001c949ba53338a9ee047d2ec1efd2505e6f. * bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter * bpo-9566: whitespace fixes
Diffstat (limited to 'PCbuild/tk.vcxproj')
-rw-r--r--PCbuild/tk.vcxproj5
1 files changed, 3 insertions, 2 deletions
diff --git a/PCbuild/tk.vcxproj b/PCbuild/tk.vcxproj
index f90e482..a1b8b9e 100644
--- a/PCbuild/tk.vcxproj
+++ b/PCbuild/tk.vcxproj
@@ -56,11 +56,12 @@
<TkOpts Condition="$(Configuration) == 'Debug'">symbols,msvcrt</TkOpts>
<TkDirs>TCLDIR="$(tclDir.TrimEnd(`\`))" INSTALLDIR="$(OutDir.TrimEnd(`\`))"</TkDirs>
<DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUGFLAGS="-wd4456 -wd4457 -wd4458 -wd4459 -wd4996"</DebugFlags>
+ <WarningsFlags>WARNINGS="-W3 -wd4244 -wd4267 -wd4311 -wd4312 -wd4334"</WarningsFlags>
<NMakeBuildCommandLine>setlocal
set VCINSTALLDIR=$(VCInstallDir)
cd /D "$(tkDir)win"
-nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) all
-nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) install-binaries install-libraries
+nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) all
+nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) install-binaries install-libraries
copy /Y ..\license.terms "$(OutDir)\tklicense.terms"
</NMakeBuildCommandLine>
</PropertyGroup>