mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
build: Fix Boost.Process test for Boost 1.78
Github-Pull: bitcoin#24523
Rebased-From: 532c64a
This commit is contained in:
parent
26c2f23f36
commit
ded10fe3ea
3 changed files with 23 additions and 0 deletions
|
|
@ -12,7 +12,16 @@
|
|||
// For details see https://github.com/bitcoin/bitcoin/pull/22348.
|
||||
#define __kernel_entry
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
// Boost 1.78 requires the following workaround.
|
||||
// See: https://github.com/boostorg/process/issues/235
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnarrowing"
|
||||
#endif
|
||||
#include <boost/process.hpp>
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
#endif // ENABLE_EXTERNAL_SIGNER
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue