mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 08:39:01 +08:00
[ocilib] Disable warning C4191 (#23028)
* [ocilib] Disable warning C4191 * update version * update patch * update version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
parent
0edb2cfdab
commit
8cb52e2eae
40
ports/ocilib/fix-DisableWC4191.patch
Normal file
40
ports/ocilib/fix-DisableWC4191.patch
Normal file
@ -0,0 +1,40 @@
|
||||
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>
|
@ -4,6 +4,7 @@ vcpkg_from_github(
|
||||
REF v4.7.3
|
||||
SHA512 80cf1f76420b506789b1f7edd9af826801236499dd0757be3438e3cdf286b95ddd7dd35909622b3862244f6b535a8744f0b25989fb3740a4a0fd984410fb420b
|
||||
HEAD_REF master
|
||||
PATCHES fix-DisableWC4191.patch
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
|
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "ocilib",
|
||||
"version": "4.7.3",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "OCILIB is an open source and cross platform Oracle Driver that delivers efficient access to Oracle databases.",
|
||||
"homepage": "https://vrogier.github.io/ocilib/",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "!(arm | uwp)"
|
||||
}
|
||||
|
@ -4886,7 +4886,7 @@
|
||||
},
|
||||
"ocilib": {
|
||||
"baseline": "4.7.3",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"octomap": {
|
||||
"baseline": "1.9.5",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "04a952ec38bbc46e3cfa6d5ee6ced8a5e9989e31",
|
||||
"version": "4.7.3",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "76e672a75b678329bb9646c61e9f4bdba02aeedd",
|
||||
"version": "4.7.3",
|
||||
|
Loading…
Reference in New Issue
Block a user