From 590d1e737c71e026faea3313ed5789658898dade Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Thu, 11 Jan 2024 13:35:18 -0500 Subject: [PATCH] pkgconfig: Drop -std=c++17 compile flag This compile flag was required previously when Bitcoin Core was using C++11, and libmultiprocess headers needed to be compiled with C++14 in order to be compatible with newer versions of Cap'n Proto. The flag was updated to C++17 since then. But now Bitcoin Core has been updated to use C++20 and having the C++17 flag causes errors when the std::u8string type is referenced in bitcoin code. So just remove the C++ flag and let the application be responsible for choosing the C++ version. --- pkgconfig/libmultiprocess.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgconfig/libmultiprocess.pc.in b/pkgconfig/libmultiprocess.pc.in index d8bda42c..5ee81a26 100644 --- a/pkgconfig/libmultiprocess.pc.in +++ b/pkgconfig/libmultiprocess.pc.in @@ -9,4 +9,4 @@ Description: Multiprocess IPC library Version: 0.0 Libs: -L${libdir} -lmultiprocess -L${capnp_prefix}/lib -lcapnp-rpc -lcapnp -lkj-async -lkj -pthread -lpthread -Cflags: -std=c++17 -I${includedir} -I${capnp_prefix}/include -pthread +Cflags: -I${includedir} -I${capnp_prefix}/include -pthread