Fix compilation with clang under OS X #1875

pull ghost wants to merge 1 commits into bitcoin:master from changing 1 files +7 −2
  1. ghost commented at 7:13 PM on September 27, 2012: none

    Trying to compile with clang under Mac OS X 10.8 (XCode 4.5) results in the error:

    assigning to 'objc_object *' from incompatible type 'DockIconClickEventHandler *'

    clang seems to be much more picky than gcc about the type a variable it assigns an Objective-C instance to, and a simple class objc_object doesn't cut it.

  2. Fixed compilation error with clang.
    Previously, trying to compile with clang would result in the error: assigning to 'objc_object *' from incompatible type 'DockIconClickEventHandler *'
    fee10d800e
  3. laanwj commented at 5:47 AM on September 28, 2012: member

    ACK

  4. laanwj referenced this in commit 018ec85ff7 on Sep 29, 2012
  5. laanwj merged this on Sep 29, 2012
  6. laanwj closed this on Sep 29, 2012

  7. BitcoinPullTester commented at 5:41 PM on September 29, 2012: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/fee10d800e2599962f2960ddf27963c2f3768bd0 for binaries and test log.

  8. linki cross-referenced this on Jan 5, 2014 from issue Fixed compilation error with clang. by linki
  9. KolbyML referenced this in commit 8e7fa721af on Dec 5, 2020
  10. bitcoin 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-05-19 06:55 UTC