Use defined `CXX_STANDARD` for environment introspection #71

pull hebasto wants to merge 1 commits into bitcoin-core:master from hebasto:220831-standard changing 3 files +6 −18
  1. hebasto commented at 12:09 PM on August 31, 2022: member

    It doesn't look robust to use different C++ standards for configuration and building.

    This PR, for example, will apply the -std=gnu++17 compiler option for all checks during configuration when building with GCC.

  2. Use defined `CXX_STANDARD` for environment introspection 2eff5da83c
  3. ryanofsky approved
  4. ryanofsky commented at 6:54 PM on August 31, 2022: collaborator

    Code review ACK 2eff5da83c5dfcb13d28df7c2c108178bbcba956. The original reason this was implemented this way was that some versions of capnproto required c++14 while bitcoin was still using c++11, so there really was a mix of versions being used together. But it is simpler to set a default version now, and good to use the same version for checks.

  5. ryanofsky merged this on Aug 31, 2022
  6. ryanofsky closed this on Aug 31, 2022

  7. hebasto deleted the branch on Aug 31, 2022
  8. 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 19:30 UTC

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