Fix current deprecation warnings as of capnproto-1.0.1 #88

pull ryanofsky wants to merge 2 commits into bitcoin-core:master from ryanofsky:pr/dep changing 4 files +43 −31
  1. ryanofsky commented at 8:04 pm on November 17, 2023: collaborator

    This drops compatibility with capnproto versions before 0.7.0 and also adds a hard dependency on the kj/filesystem.h library which was previously optional

    Fixes #87 and #39

  2. Remove deprecated kj::mvCapture calls to avoid warnings
    There's no downside to this change since c++17 is already required.
    
    Fixes #87
    e8e89dfd37
  3. mpgen: Avoid deprecated SchemaParser::parseDiskFile call
    This avoids deprecation warnings, and is potentially a little safer since it
    sandboxes the parsing and makes it an error to import paths outside the source
    directory.
    
    This change does have some downsides, though. It complicates include logic, and
    also drops compatibility with capnproto versions before 0.7.0 that don't have
    the new SchemaParser::parseFromDirectory method which was added in
    https://github.com/capnproto/capnproto/commit/c1fe2b0339a1499c354eb85a2a78c63b2ce449f3
    It also adds a hard dependency on the kj/filesystem.h library which was
    previously optional.
    
    Fixes #39
    962e681356
  4. ryanofsky merged this on Nov 17, 2023
  5. ryanofsky closed this on Nov 17, 2023

  6. ryanofsky referenced this in commit 21bfee0720 on Nov 17, 2023
  7. fanquake referenced this in commit a238356823 on Nov 22, 2023
  8. janus referenced this in commit ad750e76c1 on Apr 1, 2024
  9. PastaPastaPasta referenced this in commit 2786b58bf6 on Sep 27, 2024
  10. PastaPastaPasta referenced this in commit ba3378899e on Sep 27, 2024
  11. PastaPastaPasta referenced this in commit 3d589cd31e on Sep 27, 2024
  12. PastaPastaPasta referenced this in commit 6a454fb19f on Sep 28, 2024
  13. PastaPastaPasta referenced this in commit 630e767be7 on Oct 1, 2024
  14. ryanofsky referenced this in commit 6cbe56ef3b on Jan 27, 2025
  15. bitcoin-core locked this on Jun 25, 2025


ryanofsky


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: 2025-12-04 19:30 UTC

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