[Bug 265687] openjdk11 fails due to -Wbitwise-instead-of-logical
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Aug 2022 14:56:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265687 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d41392b6e049ff56d2abf91749a82573eb3198d commit 3d41392b6e049ff56d2abf91749a82573eb3198d Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-08-28 14:40:46 +0000 Commit: Stefan Eßer <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(+) -- You are receiving this mail because: You are the assignee for the bug.