Tidy error on Bitcoin Core CI #124

issue Sjors opened this issue on December 9, 2024
  1. Sjors commented at 6:02 AM on December 9, 2024: member
    [22:21:15.870] /ci_container_base/src/ipc/process.cpp:75:17: error: use starts_with instead of compare() == 0 [modernize-use-starts-ends-with,-warnings-as-errors]
    [22:21:15.870]    75 |     if (address.compare(0, 4, "unix") == 0 && (address.size() == 4 || address[4] == ':')) {
    [22:21:15.870]       |                 ^~~~~~~~~~~~~       ~~~~~~
    [22:21:15.870]       |                 starts_with(        )
    [22:21:15.870] 850 warnings generated.
    [22:21:15.870] 
    [22:21:15.870] ^^^ ⚠️ Failure generated from clang-tidy
    

    https://github.com/bitcoin/bitcoin/pull/30975/checks?check_run_id=34105951022

  2. Sjors commented at 6:05 AM on December 9, 2024: member

    Started happening after clang bump for the tidy job: https://github.com/bitcoin/bitcoin/pull/31306

  3. ryanofsky closed this on Dec 12, 2024

  4. ryanofsky referenced this in commit beac62e541 on Dec 12, 2024
  5. bitcoin-core locked this on Dec 12, 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 18:30 UTC

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