vcpkg/ports/ocilib/fix-DisableWC4191.patch
LilyWangLL 8cb52e2eae
[ocilib] Disable warning C4191 (#23028)
* [ocilib] Disable warning C4191

* update version

* update patch

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-02-11 15:14:46 -08:00

41 lines
1.9 KiB
Diff

diff --git a/proj/dll/ocilib_dll_vs2019.vcxproj b/proj/dll/ocilib_dll_vs2019.vcxproj
index 2d5b3bf..35e4684 100644
--- a/proj/dll/ocilib_dll_vs2019.vcxproj
+++ b/proj/dll/ocilib_dll_vs2019.vcxproj
@@ -116,7 +116,7 @@
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>EnableAllWarnings</WarningLevel>
- <TreatWarningAsError>true</TreatWarningAsError>
+ <TreatWarningAsError>false</TreatWarningAsError>
<DebugInformationFormat>
</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
@@ -173,7 +173,7 @@
</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4255;4668;4996;4710;4711;4738;4774;4820;5045</DisableSpecificWarnings>
- <TreatWarningAsError>true</TreatWarningAsError>
+ <TreatWarningAsError>false</TreatWarningAsError>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>OCI_CHARSET_ANSI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -223,7 +223,7 @@
</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4255;4668;4996;4710;4711;4738;4774;4820;5045</DisableSpecificWarnings>
- <TreatWarningAsError>true</TreatWarningAsError>
+ <TreatWarningAsError>false</TreatWarningAsError>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>OCI_CHARSET_WIDE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -276,7 +276,7 @@
</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4255;4668;4996;4710;4711;4738;4774;4820;5045</DisableSpecificWarnings>
- <TreatWarningAsError>true</TreatWarningAsError>
+ <TreatWarningAsError>false</TreatWarningAsError>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>OCI_CHARSET_WIDE;%(PreprocessorDefinitions)</PreprocessorDefinitions>