On Sat, 24 Jun 2023 17:53:31 GMT, Martin Fox <[email protected]> wrote:
> The Mac build issues a lot of warnings including several related to the > deprecation of OpenGL in macOS 10.14. Now that the deployment target for > JavaFX is 11.0 across the board these warnings are showing up on both M1 and > Intel builds. Luckily Apple provides a simply way to silence these warnings > by setting a single C preprocessor define. All the OpenGL warnings get silenced except following two: 1. modules/javafx.graphics/src/main/native-prism-es2/macosx/MacOSXWindowSystemInterface.m:120:24: warning: 'setView:' is deprecated: first deprecated in macOS 10.14 - Use NSOpenGLView to provide OpenGL content in a Cocoa app. [-Wdeprecated-declarations] 2. modules/javafx.graphics/src/main/native-prism-es2/macosx/MacOSXWindowSystemInterface.m:181:57: warning: 'NSOpenGLCPSwapInterval' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations] Could you please take a look why are these not silenced. Otherwise looks good. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1161#issuecomment-1610849998
