Date: Sun, 28 Aug 2022 14:56:13 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 265687] openjdk11 fails due to -Wbitwise-instead-of-logical Message-ID: <bug-265687-8522-gO3nHjpM34@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265687-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-265687-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265687 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D3d41392b6e049ff56d2abf91749a825= 73eb3198d commit 3d41392b6e049ff56d2abf91749a82573eb3198d Author: Stefan E=C3=9Fer <se@FreeBSD.org> AuthorDate: 2022-08-28 14:40:46 +0000 Commit: Stefan E=C3=9Fer <se@FreeBSD.org> CommitDate: 2022-08-28 14:54:31 +0000 java/openjdk11: fix build on 13.1 and -CURRENT Recent LLVM versions issue warnings for "|" being used with boolean operands. Such operations exist in OpenJDK and the source lines are marked with comments to not use logical operations instead. This breaks the build on 13.1 and -CURRENT when building with LLVM-13 or newer due to the -Werror option being passed to the compiler. Fix this issue by casting one of the boolean operands to int, as suggested by the compiler in the error message for the case that the "|" operation should actually be used on purpose. I had submitted this patch as an attachment to PR 265687 on 2022-08-07, but it has been ignored by the maintainer (java team). PR: 265687 Approved by: portmgr (implicit) ...tive_libharfbuzz_hb-ot-layout-gpos-table.hh (new) | 20 ++++++++++++++++= ++++ 1 file changed, 20 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265687-8522-gO3nHjpM34>