On Fri, 17 Apr 2026 01:16:34 GMT, Alexander Matveev <[email protected]> wrote:
> - Added support for libavcodec 62. > - Added `-Wno-error=incompatible-pointer-types` flag when compiling stab, > otherwise build fails on Ubuntu 26.04, but works on older versions. > - `avcodec_close()/av_free() `combo is replaced with > `avcodec_free_context()`. `avcodec_close()` is removed in libavcodec 62. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). 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. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2152#discussion_r3101338010
