[jfx24u] RFR: 8354336: gstclock.c: compilation error: 'incompatible pointer type' with gcc 14

2025-04-25 Thread Alexander Matveev
Clean backport of JDK-8354336. - Commit messages: - Backport 3fdd21386d6db96294fcecd80afc25d09732c067 Changes: https://git.openjdk.org/jfx24u/pull/26/files Webrev: https://webrevs.openjdk.org/?repo=jfx24u&pr=26&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8354336 Stats:

Re: RFR: 8354336: gstclock.c: compilation error: 'incompatible pointer type' with gcc 14

2025-04-25 Thread Ambarish Rapte
On Wed, 23 Apr 2025 23:26:23 GMT, Alexander Matveev wrote: > - Fixed gcc 14 compiler errors. > > > ../../../gstreamer-lite/gstreamer/gst/gstclock.c: In function > 'gst_clock_entry_new': > ../../../gstreamer-lite/gstreamer/gst/gstclock.c:178:48: error: passing > argument 1 of 'g_weak_ref_init

Re: RFR: 8354336: gstclock.c: compilation error: 'incompatible pointer type' with gcc 14

2025-04-24 Thread Kevin Rushforth
On Wed, 23 Apr 2025 23:26:23 GMT, Alexander Matveev wrote: > - Fixed gcc 14 compiler errors. > > > ../../../gstreamer-lite/gstreamer/gst/gstclock.c: In function > 'gst_clock_entry_new': > ../../../gstreamer-lite/gstreamer/gst/gstclock.c:178:48: error: passing > argument 1 of 'g_weak_ref_init

Re: RFR: 8354336: gstclock.c: compilation error: 'incompatible pointer type' with gcc 14

2025-04-24 Thread Kevin Rushforth
On Thu, 24 Apr 2025 20:56:52 GMT, Alexander Matveev wrote: >> modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gst_private.h >> line 535: >> >>> 533: { >>> 534: GstClockEntry entry; >>> 535: #if defined (GSTREAMER_LITE) && defined(LINUX) >> >> Why is this qualifie

Re: RFR: 8354336: gstclock.c: compilation error: 'incompatible pointer type' with gcc 14

2025-04-24 Thread Alexander Matveev
On Thu, 24 Apr 2025 13:33:21 GMT, Kevin Rushforth wrote: >> - Fixed gcc 14 compiler errors. >> >> >> ../../../gstreamer-lite/gstreamer/gst/gstclock.c: In function >> 'gst_clock_entry_new': >> ../../../gstreamer-lite/gstreamer/gst/gstclock.c:178:48: error: passing >> argument 1 of 'g_weak_ref_

Re: RFR: 8354336: gstclock.c: compilation error: 'incompatible pointer type' with gcc 14

2025-04-24 Thread Kevin Rushforth
On Wed, 23 Apr 2025 23:26:23 GMT, Alexander Matveev wrote: > - Fixed gcc 14 compiler errors. > > > ../../../gstreamer-lite/gstreamer/gst/gstclock.c: In function > 'gst_clock_entry_new': > ../../../gstreamer-lite/gstreamer/gst/gstclock.c:178:48: error: passing > argument 1 of 'g_weak_ref_init

RFR: 8354336: gstclock.c: compilation error: 'incompatible pointer type' with gcc 14

2025-04-23 Thread Alexander Matveev
- Fixed gcc 14 compiler errors. ../../../gstreamer-lite/gstreamer/gst/gstclock.c: In function 'gst_clock_entry_new': ../../../gstreamer-lite/gstreamer/gst/gstclock.c:178:48: error: passing argument 1 of 'g_weak_ref_init' from incompatible pointer type [-Wincompatible-pointer-types] 178 | #de