aboutsummaryrefslogtreecommitdiff
path: root/build_msvc
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-04-02 12:18:08 -0700
committerPieter Wuille <pieter@wuille.net>2021-04-02 13:17:49 -0700
commitcabb5661234f8d832dbc3b65bf80b0acc02db0a0 (patch)
tree45c4500d499354608c7cdeca9907c596130768a0 /build_msvc
parente08f3193b543017702d000c2263bccbefa981c14 (diff)
Disable certain false positive warnings for libsecp256k1 msvc build
Diffstat (limited to 'build_msvc')
-rw-r--r--build_msvc/libsecp256k1/libsecp256k1.vcxproj9
1 files changed, 5 insertions, 4 deletions
diff --git a/build_msvc/libsecp256k1/libsecp256k1.vcxproj b/build_msvc/libsecp256k1/libsecp256k1.vcxproj
index c42918d6e1..f9b0a7975c 100644
--- a/build_msvc/libsecp256k1/libsecp256k1.vcxproj
+++ b/build_msvc/libsecp256k1/libsecp256k1.vcxproj
@@ -10,13 +10,14 @@
<ItemGroup>
<ClCompile Include="..\..\src\secp256k1\src\secp256k1.c" />
</ItemGroup>
- <ItemDefinitionGroup>
+ <ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>ENABLE_MODULE_ECDH;ENABLE_MODULE_RECOVERY;ENABLE_MODULE_EXTRAKEYS;ENABLE_MODULE_SCHNORRSIG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\src\secp256k1;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
+ <AdditionalIncludeDirectories>..\..\src\secp256k1;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4146;4244;4267;4334</DisableSpecificWarnings>
+ </ClCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Import Project="..\common.vcxproj" />
-</Project> \ No newline at end of file
+</Project>