Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c9318853
Commit
c9318853
authored
Jun 16, 2017
by
Segev Finer
Committed by
Zachary Ware
Jun 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-30631: Silence MSVC warnings in third-party code (GH-1963)
parent
51599e2b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
PCbuild/liblzma.vcxproj
PCbuild/liblzma.vcxproj
+1
-0
PCbuild/openssl.props
PCbuild/openssl.props
+1
-0
PCbuild/pcbuild.sln
PCbuild/pcbuild.sln
+3
-0
PCbuild/tix.vcxproj
PCbuild/tix.vcxproj
+2
-1
No files found.
PCbuild/liblzma.vcxproj
View file @
c9318853
...
...
@@ -64,6 +64,7 @@
<DebugInformationFormat>
ProgramDatabase
</DebugInformationFormat>
<Optimization>
Disabled
</Optimization>
<AdditionalIncludeDirectories>
$(lzmaDir)windows;$(lzmaDir)src/liblzma/common;$(lzmaDir)src/common;$(lzmaDir)src/liblzma/api;$(lzmaDir)src/liblzma/check;$(lzmaDir)src/liblzma/delta;$(lzmaDir)src/liblzma/lz;$(lzmaDir)src/liblzma/lzma;$(lzmaDir)src/liblzma/rangecoder;$(lzmaDir)src/liblzma/simple
</AdditionalIncludeDirectories>
<DisableSpecificWarnings>
4028;4113;4244;4267;4996
</DisableSpecificWarnings>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
...
...
PCbuild/openssl.props
View file @
c9318853
...
...
@@ -16,6 +16,7 @@
<PreprocessorDefinitions
Include=
"L_ENDIAN"
/>
<PreprocessorDefinitions
Include=
"_CRT_SECURE_NO_WARNINGS"
/>
<PreprocessorDefinitions
Include=
"_CRT_SECURE_NO_DEPRECATE"
/>
<PreprocessorDefinitions
Include=
"_WINSOCK_DEPRECATED_NO_WARNINGS"
/>
<PreprocessorDefinitions
Include=
"OPENSSL_THREADS"
/>
<!-- <PreprocessorDefinitions Include="OPENSSL_SYSNAME_WIN32" /> -->
<PreprocessorDefinitions
Include=
"OPENSSL_IA32_SSE2"
/>
...
...
PCbuild/pcbuild.sln
View file @
c9318853
...
...
@@ -9,6 +9,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "python", "python.vcxproj", "{B11D750F-CD1F-4A96-85CE-E69A5C5259F9}"
ProjectSection(ProjectDependencies) = postProject
{0E9791DB-593A-465F-98BC-681011311618} = {0E9791DB-593A-465F-98BC-681011311618}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pythoncore", "pythoncore.vcxproj", "{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}"
EndProject
...
...
PCbuild/tix.vcxproj
View file @
c9318853
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment