On Wed, 19 Oct 2022 15:33:31 GMT, Archie L. Cobbs <d...@openjdk.org> wrote:

> Building on MacOS 12.6 M1 with Xcode 14.0 fails due to C compiler unused 
> parameter warnings:
> 
> Creating support/modules_libs/java.desktop/libosx.dylib from 1 file(s)

This is a moving target, and the changes depend on the build mode as well as on 
the Xcode version + subversion. My company forced me on Xcode 14.1 lately. That 
triggered "deprecated-declarations" warnings in adlc (1x), hotspot (20x), and 
java.desktop (1x). These are all caused by the use of sprint(). The next Xcode 
subversion will for sure find other code snippets to complain about. 

I'm not sure which policy to follow here. Adapt the make file (will hide the 
warning "forever")? Change the source code (and potentially introduce new 
issues)? Any advice from the build gurus?

-------------

PR: https://git.openjdk.org/jdk/pull/10768

Reply via email to