summaryrefslogtreecommitdiffstats
path: root/PCbuild/tix.vcxproj
diff options
context:
space:
mode:
authorSegev Finer <segev208@gmail.com>2017-06-16 03:12:05 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2017-06-16 03:12:05 (GMT)
commitc9318853bbe8d62cb72ed853b0ffb75311ea474c (patch)
tree9a566eea7eb8f7299a88f68ab588b42b92c3ea70 /PCbuild/tix.vcxproj
parent51599e2bdd10ab77212a7cbb41a13ea70ee13da8 (diff)
downloadcpython-c9318853bbe8d62cb72ed853b0ffb75311ea474c.zip
cpython-c9318853bbe8d62cb72ed853b0ffb75311ea474c.tar.gz
cpython-c9318853bbe8d62cb72ed853b0ffb75311ea474c.tar.bz2
bpo-30631: Silence MSVC warnings in third-party code (GH-1963)
Diffstat (limited to 'PCbuild/tix.vcxproj')
-rw-r--r--PCbuild/tix.vcxproj3
1 files changed, 2 insertions, 1 deletions
diff --git a/PCbuild/tix.vcxproj b/PCbuild/tix.vcxproj
index d1bc0ab..7d6d8ca 100644
--- a/PCbuild/tix.vcxproj
+++ b/PCbuild/tix.vcxproj
@@ -59,6 +59,7 @@
<TixDirs>BUILDDIRTOP="$(BuildDirTop)" TCL_DIR="$(tclDir.TrimEnd(`\`))" TK_DIR="$(tkDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TixDirs>
<DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUG=1 NODEBUG=0 TCL_DBGX=g TK_DBGX=g</DebugFlags>
<DebugFlags Condition="'$(Configuration)' != 'Debug'">DEBUG=0 NODEBUG=1</DebugFlags>
+ <CFlags>-c -W3 -nologo -MD -wd4028 -wd4090</CFlags>
<NMakeBuildCommandLine>setlocal
@(ExpectedOutputs->'if not exist "%(FullPath)" goto build','
')
@@ -66,7 +67,7 @@ goto :eof
:build
set VCINSTALLDIR=$(VCInstallDir)
cd /D "$(tixDir)win"
-nmake /nologo -f makefile.vc MACHINE=$(TclMachine) $(DebugFlags) $(TclShortVersions) $(TixDirs) all install
+nmake /nologo -f makefile.vc MACHINE=$(TclMachine) cflags="$(CFlags)" $(DebugFlags) $(TclShortVersions) $(TixDirs) all install
</NMakeBuildCommandLine>
<NMakeCleanCommandLine>rmdir /q/s "$(OutDir.TrimEnd(`\`))"</NMakeCleanCommandLine>
</PropertyGroup>