aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-06-29 12:35:27 +0200
committerMacroFake <falke.marco@gmail.com>2022-06-29 12:35:29 +0200
commit68b1425e9a77dcf6e2c41e2a164041d20136a0f2 (patch)
treea395b280a2791071b8edb09be92b535bc99c74a7
parentceae0eb7e31f9d3495a13a23df7372e5e870b572 (diff)
parentd8f8f7812cfa50e853d30f53273601dca57a60ec (diff)
Merge bitcoin/bitcoin#25492: util: remove MSVC warning pragmas
d8f8f7812cfa50e853d30f53273601dca57a60ec util: remove MSVC warning pragmas (fanquake) Pull request description: 4786 - I don't think this exists any more? 4805 - Is already defined (globally) there. Dropped 4717 and 4804, as it seems they are no-longer supressing anything. See: https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warnings-c4000-c5999. ACKs for top commit: hebasto: ACK d8f8f7812cfa50e853d30f53273601dca57a60ec, build [log](https://api.cirrus-ci.com/v1/task/6088784285532160/logs/build.log) is free of warnings. Tree-SHA512: c8ac4585799996960ea099b2c5337e7bb577152eec2e9543cc459c56f42f7a36fc4dcd7faec2fa4ac159a4ae27859650ccfd96bbf94b94dbd1cbea638560a24f
-rw-r--r--src/util/system.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 140d51a1cc..f6f2828fc8 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -55,13 +55,6 @@
#else
-#ifdef _MSC_VER
-#pragma warning(disable:4786)
-#pragma warning(disable:4804)
-#pragma warning(disable:4805)
-#pragma warning(disable:4717)
-#endif
-
#include <codecvt>
#include <io.h> /* for _commit */