Re: Error building from source on Mac

2025-05-18 Thread Peter Hull
On Sat, 17 May 2025 at 20:11, Kevin Rushforth wrote: > > I presume this is Xcode 16? This is a bug in our code that we will need > to fix. Thank you both for the swift response. Yes, it is Xcode 16.3. I didn't realise that code was not in use, but now I know I can comment it out until it gets remo

Re: Error building from source on Mac

2025-05-17 Thread Martin Fox
The most recent version of Xcode enabled a new diagnostic which caught this old problem. Whether it’s a logic error or not is beside the point since the code was disabled years ago (see JDK-8231513 and JDK-8238435). I agree with Kevin that the best short-term solution is to remove the GlassTouch

Re: Error building from source on Mac

2025-05-17 Thread Kevin Rushforth
I presume this is Xcode 16? This is a bug in our code that we will need to fix. GlassTouches is currently dead code and will either be removed or reworked at some point. See JDK-8238435, [2] which also has a comment from Martin Fox pointing out that this will no longer compile with Xcode 16.

Error building from source on Mac

2025-05-17 Thread Peter Hull
If I checkout from git and attempt to build with `sh gradlew` I get this error: /Projects/jfx/modules/javafx.graphics/src/main/native-glass/mac/GlassTouches.m:122:14: error: comparison of different enumeration types ('CGEventType' (aka 'enum CGEventType') and 'enum NSEventType') [-Werror,-Wenum-co