RFR: JDK-8348598 : Update Libpng to 1.6.47

Harshitha Onkar honkar at openjdk.org
Thu Mar 13 15:52:20 UTC 2025


On Thu, 13 Mar 2025 00:27:46 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Upgraded Libpng to v1.6.47

make/modules/java.desktop/lib/ClientLibraries.gmk line 249:

> 247:       DISABLED_WARNINGS_clang_dgif_lib.c := sign-compare, \
> 248:       DISABLED_WARNINGS_clang_gzwrite.c := format-nonliteral, \
> 249:       DISABLED_WARNINGS_clang_png.c := unused-function, \

This warning was disabled to fix the following build issue on linux and macOS.


open/src/java.desktop/share/native/libsplashscreen/libpng/png.c:1558:1: error: 'png_icc_profile_error' defined but not used [-Werror=unused-function]
[2025-03-12T23:57:44,575Z]  1558 | png_icc_profile_error(png_const_structrp png_ptr, png_const_charp name,
[2025-03-12T23:57:44,575Z]       | ^~~~~~~~~~~~~~~~~~~~~

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24021#discussion_r1993813117


More information about the client-libs-dev mailing list