Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix current deprecation warnings as of capnproto-1.0.1 #88

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

ryanofsky
Copy link
Collaborator

@ryanofsky ryanofsky commented Nov 17, 2023

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

There's no downside to this change since c++17 is already required.

Fixes bitcoin-core#87
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
capnproto/capnproto@c1fe2b0
It also adds a hard dependency on the kj/filesystem.h library which was
previously optional.

Fixes bitcoin-core#39
@ryanofsky ryanofsky merged commit 414542f into bitcoin-core:master Nov 17, 2023
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Nov 17, 2023
This incorporates PR bitcoin-core/libmultiprocess#88
"Fix current deprecation warnings as of capnproto-1.0.1" and reverts the
NO_WERROR CI workaround added in bitcoin#28735
fanquake added a commit to bitcoin/bitcoin that referenced this pull request Nov 22, 2023
…ion warnings

21bfee0 depends: bump libmultiprocess to fix capnproto deprecation warnings (Ryan Ofsky)

Pull request description:

  This incorporates PR bitcoin-core/libmultiprocess#88 and reverts the NO_WERROR CI workaround added in #28735

  Upstream diff: bitcoin-core/libmultiprocess@61d5a0e...414542f

  ---

  This PR is part of the [process separation project](#28722).

ACKs for top commit:
  maflcko:
    lgtm ACK 21bfee0
  hebasto:
    ACK 21bfee0, I have reviewed the code and it looks OK. I've also skimmed through the related changes in the https://github.com/chaincodelabs/libmultiprocess repository.

Tree-SHA512: b5addb0deed694eeec62a0ae08b4715a811110201f39f3e6cadee8fc4e6231b0e66c844a98512072a1445bac122ab561dc1711e27fb4d7ac5c08ac46780a4acf
janus pushed a commit to BitgesellOfficial/bitgesell that referenced this pull request Apr 1, 2024
This incorporates PR bitcoin-core/libmultiprocess#88
"Fix current deprecation warnings as of capnproto-1.0.1" and reverts the
NO_WERROR CI workaround added in bitcoin/bitcoin#28735
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Sep 27, 2024
…eprecation warnings

21bfee0 depends: bump libmultiprocess to fix capnproto deprecation warnings (Ryan Ofsky)

Pull request description:

  This incorporates PR bitcoin-core/libmultiprocess#88 and reverts the NO_WERROR CI workaround added in bitcoin#28735

  Upstream diff: bitcoin-core/libmultiprocess@61d5a0e...414542f

  ---

  This PR is part of the [process separation project](bitcoin#28722).

ACKs for top commit:
  maflcko:
    lgtm ACK 21bfee0
  hebasto:
    ACK 21bfee0, I have reviewed the code and it looks OK. I've also skimmed through the related changes in the https://github.com/chaincodelabs/libmultiprocess repository.

Tree-SHA512: b5addb0deed694eeec62a0ae08b4715a811110201f39f3e6cadee8fc4e6231b0e66c844a98512072a1445bac122ab561dc1711e27fb4d7ac5c08ac46780a4acf
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Sep 27, 2024
…eprecation warnings

21bfee0 depends: bump libmultiprocess to fix capnproto deprecation warnings (Ryan Ofsky)

Pull request description:

  This incorporates PR bitcoin-core/libmultiprocess#88 and reverts the NO_WERROR CI workaround added in bitcoin#28735

  Upstream diff: bitcoin-core/libmultiprocess@61d5a0e...414542f

  ---

  This PR is part of the [process separation project](bitcoin#28722).

ACKs for top commit:
  maflcko:
    lgtm ACK 21bfee0
  hebasto:
    ACK 21bfee0, I have reviewed the code and it looks OK. I've also skimmed through the related changes in the https://github.com/chaincodelabs/libmultiprocess repository.

Tree-SHA512: b5addb0deed694eeec62a0ae08b4715a811110201f39f3e6cadee8fc4e6231b0e66c844a98512072a1445bac122ab561dc1711e27fb4d7ac5c08ac46780a4acf
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Sep 27, 2024
…eprecation warnings

21bfee0 depends: bump libmultiprocess to fix capnproto deprecation warnings (Ryan Ofsky)

Pull request description:

  This incorporates PR bitcoin-core/libmultiprocess#88 and reverts the NO_WERROR CI workaround added in bitcoin#28735

  Upstream diff: bitcoin-core/libmultiprocess@61d5a0e...414542f

  ---

  This PR is part of the [process separation project](bitcoin#28722).

ACKs for top commit:
  maflcko:
    lgtm ACK 21bfee0
  hebasto:
    ACK 21bfee0, I have reviewed the code and it looks OK. I've also skimmed through the related changes in the https://github.com/chaincodelabs/libmultiprocess repository.

Tree-SHA512: b5addb0deed694eeec62a0ae08b4715a811110201f39f3e6cadee8fc4e6231b0e66c844a98512072a1445bac122ab561dc1711e27fb4d7ac5c08ac46780a4acf
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Sep 28, 2024
…eprecation warnings

21bfee0 depends: bump libmultiprocess to fix capnproto deprecation warnings (Ryan Ofsky)

Pull request description:

  This incorporates PR bitcoin-core/libmultiprocess#88 and reverts the NO_WERROR CI workaround added in bitcoin#28735

  Upstream diff: bitcoin-core/libmultiprocess@61d5a0e...414542f

  ---

  This PR is part of the [process separation project](bitcoin#28722).

ACKs for top commit:
  maflcko:
    lgtm ACK 21bfee0
  hebasto:
    ACK 21bfee0, I have reviewed the code and it looks OK. I've also skimmed through the related changes in the https://github.com/chaincodelabs/libmultiprocess repository.

Tree-SHA512: b5addb0deed694eeec62a0ae08b4715a811110201f39f3e6cadee8fc4e6231b0e66c844a98512072a1445bac122ab561dc1711e27fb4d7ac5c08ac46780a4acf
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 1, 2024
…eprecation warnings

21bfee0 depends: bump libmultiprocess to fix capnproto deprecation warnings (Ryan Ofsky)

Pull request description:

  This incorporates PR bitcoin-core/libmultiprocess#88 and reverts the NO_WERROR CI workaround added in bitcoin#28735

  Upstream diff: bitcoin-core/libmultiprocess@61d5a0e...414542f

  ---

  This PR is part of the [process separation project](bitcoin#28722).

ACKs for top commit:
  maflcko:
    lgtm ACK 21bfee0
  hebasto:
    ACK 21bfee0, I have reviewed the code and it looks OK. I've also skimmed through the related changes in the https://github.com/chaincodelabs/libmultiprocess repository.

Tree-SHA512: b5addb0deed694eeec62a0ae08b4715a811110201f39f3e6cadee8fc4e6231b0e66c844a98512072a1445bac122ab561dc1711e27fb4d7ac5c08ac46780a4acf
ryanofsky added a commit to ryanofsky/libmultiprocess that referenced this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecated mvCapture calls in capnproto-1.0.1
1 participant