Skip to content

Commit 0271195

Browse files
committed
Merge #89: pkgconfig: Drop -std=c++17 compile flag
590d1e7 pkgconfig: Drop -std=c++17 compile flag (Ryan Ofsky) Pull request description: 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. Top commit has no ACKs. Tree-SHA512: bfeb2f781509fe76f1a032551e0af8267968e7e4c80dff8b3b9cde03595616926cadae386dd4976d0ddf090cf7d9a18d0fcc66774260446d66ca16bc275b642f
2 parents 414542f + 590d1e7 commit 0271195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgconfig/libmultiprocess.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Description: Multiprocess IPC library
99
Version: 0.0
1010

1111
Libs: -L${libdir} -lmultiprocess -L${capnp_prefix}/lib -lcapnp-rpc -lcapnp -lkj-async -lkj -pthread -lpthread
12-
Cflags: -std=c++17 -I${includedir} -I${capnp_prefix}/include -pthread
12+
Cflags: -I${includedir} -I${capnp_prefix}/include -pthread

0 commit comments

Comments
 (0)