[OpenJDK 2D-Dev] RFR: 8253375: OSX build fails with Xcode 12.0 (12A7209) [v2]
lucy at openjdk.java.net
Tue Sep 29 20:05:34 UTC 2020
On Tue, 29 Sep 2020 19:33:48 GMT, Paul Hohensee <phh at openjdk.org> wrote:
>> Please review this small patch to enable the OSX build using Xcode 12.0.
> Paul Hohensee has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev
> excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since
> the last revision:
> - 8253375: Reverted CSystemColors.m patch, replaced sharedRuntime.cpp patch
> - Merge branch 'master' into JDK-8253375
> - JDK-8253375
The proposed (updated) change does _NOT_ compile on my machine (MacOS 10.15.6, Xcode 12.0):
sharedRuntime.cpp:2860:46: error: cannot cast from type 'struct (anonymous struct at sharedRuntime.cpp:2859:7)' to
pointer type 'relocInfo *'
You will have to use a union (option (2) as proposed by Kim Barrett far above. I proved that variant compiles on my
Changes requested by lucy (Reviewer).
More information about the 2d-dev