On Sat, 7 Oct 2023 16:24:29 GMT, Jan Kratochvil wrote:
> `--with-toolchain-type=clang` fails the compilation for me with
> `clang-16.0.6-3.fc38.x86_64`
>
> While the warnings can be disabled I find better to just fix them. The GTK
> prototypes in JDK reported by clang are ei
On Tue, 10 Oct 2023 20:37:07 GMT, Phil Race wrote:
>> src/java.desktop/unix/native/common/awt/awt_GraphicsEnv.h line 53:
>>
>>> 51: #define MITSHM_PERM_OWNER (0600)
>>> 52:
>>> 53: extern int XShmQueryExtension(Display* dpy);
>>
>> I wonder if it's even needed here: the declaration should com
(&error);
> ^
> Compiling X11Renderer.c (for libawt_headless.so)
> In file included from
> src/java.desktop/unix/native/common/java2d/x11/X11PMBlitLoops.c:29:
> In file included from
> src/java.desktop/unix/native/common/java2d/x11/X11SurfaceData.h:29:
&g
On Mon, 9 Oct 2023 14:38:27 GMT, Daniel JeliĆski wrote:
>> Jan Kratochvil has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Remove declaration changes which are not required
>>- suggested by djelinski
&g
(&error);
> ^
> Compiling X11Renderer.c (for libawt_headless.so)
> In file included from
> src/java.desktop/unix/native/common/java2d/x11/X11PMBlitLoops.c:29:
> In file included from
> src/java.desktop/unix/native/common/java2d/x11/X11SurfaceData.h:29:
&g
(&error);
> ^
> Compiling X11Renderer.c (for libawt_headless.so)
> In file included from
> src/java.desktop/unix/native/common/java2d/x11/X11PMBlitLoops.c:29:
> In file included from
> src/java.desktop/unix/native/common/java2d/x11/X11SurfaceData.h:2
8317696: Fix compilation with clang-16
-
Commit messages:
- 8317696: Fix compilation with clang-16
Changes: https://git.openjdk.org/jdk/pull/16092/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16092&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8317696
Stats: 17