Date: Sat, 31 Aug 2024 08:33:53 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 281150] java/openjdk11: fix build with clang 19 on i386 Message-ID: <bug-281150-8522-05FwLn9rsZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-281150-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-281150-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody) <java@FreeBSD.org> for maintainer-feedback: Bug 281150: java/openjdk11: fix build with clang 19 on i386 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281150 --- Description --- Clang 19 has a number of new warnings, and because java/openjdk11 compiles with -Werror by default, on i386 it results in errors similar to: =20=20=20 /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/java.desk= top/ share/native/libharfbuzz/graph/../hb-algs.hh:1332:18: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins] 1332 | static_assert (hb_is_trivially_copy_assignable (T), ""); | ^ =20=20=20 /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/java.desk= top/ share/native/libharfbuzz/graph/../hb-meta.hh:204:44: note: expanded from macro 'hb_is_trivially_copy_assignable' 204 | #define hb_is_trivially_copy_assignable(T) __has_trivial_assign= (T) | ^ I propose to disable warnings-as-errors for this port, similar to what is already done for openjdk17. It does not make sense to have this on by default, unless you are an upstream maintainer.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281150-8522-05FwLn9rsZ>