WIP: msvc add an ignore for warning C4834 related to nodiscard attribute. #17709

pull sipsorcery wants to merge 1 commits into bitcoin:master from sipsorcery:msvc_ignore_c4834 changing 1 files +1 −1
  1. sipsorcery commented at 10:28 AM on December 10, 2019: member

    This PR fixes the failures currently being experienced on the Bitcoin Core appveyor CI job.

    The cause of the failure is the appveyor image being updated to version Visual Studio 2019 16.4. From the v16.4 release notes at https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes it's not clear why the nodiscard warning behaviour has changed.

  2. Add an ignore for warning C4834 related to nodiscard attribute. 0de9917c44
  3. laanwj commented at 10:38 AM on December 10, 2019: member

    I wonder if this solves all the problems, there was also some zmq.h / libevent.h problem at least in the other PR.

  4. sipsorcery commented at 10:42 AM on December 10, 2019: member

    They zeromq and libevent errors could be related to the vcpkg dependencies. I had to reinstall my vcpkg packages after updating Visual Studio. The error I got was libraries being built with an older version of the runtime even though the latest version is still the same at v.1.4.2 the object or library file was created with an older compiler than other objects; rebuild old objects and libraries.

    Reinstalling the vcpkg dependencies fixes zeromq and libevent but now the Qt5 binaries are also out of date. Sigh. That'll take a bit of time to adjust.

  5. laanwj added the label Tests on Dec 10, 2019
  6. laanwj added the label Windows on Dec 10, 2019
  7. sipsorcery renamed this:
    msvc: Add an ignore for warning C4834 related to nodiscard attribute.
    WIP: msvc add an ignore for warning C4834 related to nodiscard attribute.
    on Dec 10, 2019
  8. sipsorcery commented at 9:51 PM on December 11, 2019: member

    Qt updated needed so will submit a new PR with more appropriate topic.

  9. sipsorcery closed this on Dec 11, 2019

  10. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:14 UTC

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