Warning during `make` on debian #39

issue jonatack opened this issue on September 29, 2020
  1. jonatack commented at 8:51 AM on September 29, 2020: member

    I was able to build manually but did see this warning during make, if helpful.

    • capnproto 0.7.0-7
    • debian 5.8.10-1 (2020-09-19) x86_64 GNU/Linux
    • gcc (Debian 10.2.0-9) 10.2.0
    /libmultiprocess/src/mp/gen.cpp: In function ‘void Generate(kj::StringPtr, kj::StringPtr, kj::StringPtr, kj::ArrayPtr<const kj::StringPtr>)’:
    /libmultiprocess/src/mp/gen.cpp:164:77: warning: ‘capnp::ParsedSchema capnp::SchemaParser::parseDiskFile(kj::StringPtr, kj::StringPtr, kj::ArrayPtr<const kj::StringPtr>) const’ is deprecated [-Wdeprecated-declarations]
      164 |     auto file_schema = parser.parseDiskFile(src_file, src_file, import_paths);
          |                                                                             ^
    In file included from /libmultiprocess/src/mp/gen.cpp:9:
    /usr/include/capnp/schema-parser.h:103:16: note: declared here
      103 |   ParsedSchema parseDiskFile(kj::StringPtr displayName, kj::StringPtr diskPath,
          |                ^~~~~~~~~~~~~
    
  2. jonatack commented at 5:11 PM on February 2, 2021: member

    Just saw this again now while building manually.

  3. ryanofsky commented at 11:37 AM on April 6, 2021: collaborator

    Thanks, it's been kind of a low priority to fix this warning since the code does work and keeping it makes it easy to retain compatibility with older versions of capnproto. But this should really update to a non-deprecated call.

  4. promag commented at 11:40 AM on April 6, 2021: none

    I tried to ditch those warnings and it's not a plain change, needs a bit of refactor so I've decided to avoid it while getting comfortable with the code base.

  5. ryanofsky referenced this in commit 962e681356 on Nov 17, 2023
  6. ryanofsky closed this on Nov 17, 2023

  7. ryanofsky referenced this in commit 414542f81e on Nov 17, 2023
  8. bitcoin-core locked this on Jun 25, 2025

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