Warning during make on debian #39

issue jonatack openend 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
    0/libmultiprocess/src/mp/gen.cpp: In function ‘void Generate(kj::StringPtr, kj::StringPtr, kj::StringPtr, kj::ArrayPtr<const kj::StringPtr>)’:
    1/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]
    2  164 |     auto file_schema = parser.parseDiskFile(src_file, src_file, import_paths);
    3      |                                                                             ^
    4In file included from /libmultiprocess/src/mp/gen.cpp:9:
    5/usr/include/capnp/schema-parser.h:103:16: note: declared here
    6  103 |   ParsedSchema parseDiskFile(kj::StringPtr displayName, kj::StringPtr diskPath,
    7      |                ^~~~~~~~~~~~~
    
  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: 2025-12-04 19:30 UTC

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