pkgconfig: Drop -std=c++17 compile flag #89

pull ryanofsky wants to merge 1 commits into bitcoin-core:master from ryanofsky:pr/cppstd changing 1 files +1 −1
  1. ryanofsky commented at 6:53 PM on January 11, 2024: collaborator

    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.

  2. 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.
    590d1e737c
  3. ryanofsky merged this on Jan 11, 2024
  4. ryanofsky closed this on Jan 11, 2024

  5. ryanofsky referenced this in commit 56ef459b57 on Jan 11, 2024
  6. ryanofsky referenced this in commit 5dfd24581a on Jan 18, 2024
  7. ryanofsky referenced this in commit b8105b3ed7 on Jan 22, 2024
  8. fanquake referenced this in commit f1ab078ed7 on Jan 23, 2024
  9. 0xB10C referenced this in commit d9baf06506 on Jan 24, 2024
  10. janus referenced this in commit 86470d732b on Apr 6, 2024
  11. willcl-ark referenced this in commit 81122b1c1c on May 2, 2024
  12. ryanofsky referenced this in commit 24c34b4540 on Jun 11, 2024
  13. PastaPastaPasta referenced this in commit fcb0d3ccf4 on Sep 27, 2024
  14. PastaPastaPasta referenced this in commit c7e42416ff on Sep 27, 2024
  15. PastaPastaPasta referenced this in commit 2758ba8cd9 on Sep 27, 2024
  16. PastaPastaPasta referenced this in commit 914582ecbd on Sep 28, 2024
  17. PastaPastaPasta referenced this in commit 7a63c20c47 on Oct 1, 2024
  18. bitcoin-core locked this on Jun 25, 2025
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-20 18:30 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me