Skip to content

Commit b5ebeb3

Browse files
committed
Merge bitcoin/bitcoin#28002: refactor: remove in-code warning suppression
3210f22 refactor: remove in-code warning suppression (fanquake) Pull request description: Should no-longer be needed post #27872. If it is, then suppress-external-warnings should be fixed. ACKs for top commit: hebasto: ACK 3210f22 Tree-SHA512: 2405250b7308779d576f13ce9144944abd5b2293499a0c0fe940398dae951cb871246a55c0e644a038ee238f9510b5845c3e39f9658d9f10225a076d8122f078
2 parents 54ba330 + 3210f22 commit b5ebeb3

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

src/common/run_command.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,7 @@
1212
#include <univalue.h>
1313

1414
#ifdef ENABLE_EXTERNAL_SIGNER
15-
#if defined(__GNUC__)
16-
// Boost 1.78 requires the following workaround.
17-
// See: https://github.com/boostorg/process/issues/235
18-
#pragma GCC diagnostic push
19-
#pragma GCC diagnostic ignored "-Wnarrowing"
20-
#endif
2115
#include <boost/process.hpp>
22-
#if defined(__GNUC__)
23-
#pragma GCC diagnostic pop
24-
#endif
2516
#endif // ENABLE_EXTERNAL_SIGNER
2617

2718
UniValue RunCommandParseJSON(const std::string& str_command, const std::string& str_std_in)

src/test/system_tests.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,7 @@
77
#include <univalue.h>
88

99
#ifdef ENABLE_EXTERNAL_SIGNER
10-
#if defined(__GNUC__)
11-
// Boost 1.78 requires the following workaround.
12-
// See: https://github.com/boostorg/process/issues/235
13-
#pragma GCC diagnostic push
14-
#pragma GCC diagnostic ignored "-Wnarrowing"
15-
#endif
1610
#include <boost/process.hpp>
17-
#if defined(__GNUC__)
18-
#pragma GCC diagnostic pop
19-
#endif
2011
#endif // ENABLE_EXTERNAL_SIGNER
2112

2213
#include <boost/test/unit_test.hpp>

src/wallet/bdb.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@
2121
#include <unordered_map>
2222
#include <vector>
2323

24-
#if defined(__GNUC__) && !defined(__clang__)
25-
#pragma GCC diagnostic push
26-
#pragma GCC diagnostic ignored "-Wsuggest-override"
27-
#endif
2824
#include <db_cxx.h>
29-
#if defined(__GNUC__) && !defined(__clang__)
30-
#pragma GCC diagnostic pop
31-
#endif
3225

3326
struct bilingual_str;
3427

0 commit comments

Comments
 (0)