Selectively suppress deprecation warnings #9758

pull jonasschnelli wants to merge 1 commits into bitcoin:master from jonasschnelli:2017/02/deprac_warns changing 2 files +6 −0
  1. jonasschnelli commented at 10:10 AM on February 14, 2017: contributor

    These warnings are really annoying (~serval hundreds on my Mac/clang) and throwing in CXXFLAGS=-Wdeprecated-declarations seems not ideal.

    This PR suppresses deprecation warnings for some Mac relevant code (launch on startup) as well as for the protobuf parts.

  2. jonasschnelli added the label MacOSX on Feb 14, 2017
  3. gmaxwell commented at 10:15 AM on February 14, 2017: contributor

    Concept ACK. Thanks for doing this.

  4. in src/qt/guiutil.cpp:None in cf6d2c2835 outdated
     825 | @@ -824,6 +826,7 @@ bool SetStartOnSystemStartup(bool fAutoStart)
     826 |      }
     827 |      return true;
     828 |  }
     829 | +#pragma GCC diagnostic push
    


    paveljanik commented at 10:17 AM on February 14, 2017:

    push?


    jonasschnelli commented at 10:22 AM on February 14, 2017:

    Pop! Will change! Thanks.

  5. laanwj commented at 11:31 AM on February 14, 2017: member

    Cannot test this, but looks like the right way to go at it.

  6. Selectively suppress deprecation warnings 4b6ccccc16
  7. jonasschnelli force-pushed on Feb 14, 2017
  8. jonasschnelli commented at 12:51 PM on February 14, 2017: contributor

    Fixed the push/pop mixup (thanks @paveljanik!).

  9. laanwj merged this on Feb 15, 2017
  10. laanwj closed this on Feb 15, 2017

  11. laanwj referenced this in commit 476cc47da0 on Feb 15, 2017
  12. theuni commented at 8:40 PM on February 15, 2017: member

    post-merge utACK.

  13. codablock referenced this in commit a7e0eb5f09 on Jan 19, 2018
  14. codablock referenced this in commit 136d8606c8 on Jan 23, 2018
  15. HashUnlimited referenced this in commit ccc19ae52a on Feb 27, 2018
  16. andvgal referenced this in commit 3f88cf0e1c on Jan 6, 2019
  17. CryptoCentric referenced this in commit 47434654a6 on Feb 27, 2019
  18. DrahtBot locked this on Sep 8, 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-21 18:15 UTC

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