On Fri, 17 Apr 2026 21:37:42 GMT, Alexander Matveev <[email protected]> 
wrote:

>> build.gradle line 3435:
>> 
>>> 3433:                 // Pre-defined command line arguments
>>> 3434:                 def cfgCMDArgs = ["sh", "configure"]
>>> 3435:                 def commonCfgArgs = ["--enable-shared", 
>>> "--disable-debug", "--disable-static", "--disable-asm", "--disable-doc", 
>>> "--disable-programs", "--disable-everything", 
>>> "--extra-cflags=\"-Wno-error=incompatible-pointer-types\""]
>> 
>>> Added -Wno-error=incompatible-pointer-types flag when compiling stab, 
>>> otherwise build fails on Ubuntu 26.04, but works on older versions.
>> 
>> Is this because of some system header file on Ubuntu 26.04, or is it a 
>> function of a newer gcc? It might be worth filing a follow-on issue to track 
>> this.
>
> I am using exactly same gcc as on 24.04.
> 
> libavformat/avio.c:284:62: error: passing argument 5 of 
> ‘retry_transfer_wrapper’ from incompatible pointer type 
> [-Wincompatible-pointer-types]
>   284 |     return retry_transfer_wrapper(h, buf, size, size, 
> h->prot->url_write);
> 
> Build failure in old libav-11.4 code. Note: libav (not ffmpeg).

OK, thanks. Let's file a follow-up bug for this. Maybe we can revert the 
warning once we remove support for this older library.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2152#discussion_r3113422432

Reply via email to