Date: Thu, 11 Aug 2022 18:50:01 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 265778] java/openjdk11 compiler error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] Message-ID: <bug-265778-8522-O9YdsWjZOZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265778-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-265778-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 265778: java/openjdk11 compiler error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265778 --- Description --- On recent CURRENT (FreeBSD 14.0-CURRENT #10 main-n257258-348164aa9e5d: Wed = Aug 10 22:39:17 CEST 2022 amd64) compiling port java/openjsd11 fails with the e= rror shown below (2 errors in sum, shown the first one, both of same type: error: use of bitwise ...): [...] gmake[4]: Leaving directory '/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make' gmake[4]: Leaving directory '/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/make' In file included from /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/src/java.desktop/shar= e/na tive/libharfbuzz/hb-aat-layout.cc:35: In file included from /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/src/java.desktop/shar= e/na tive/libharfbuzz/hb-aat-layout-kerx-table.hh:31: In file included from /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/src/java.desktop/shar= e/na tive/libharfbuzz/hb-kern.hh:32: /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.16-8-1/src/java.desktop/shar= e/na tive/libharfbuzz/hb-ot-layout-gpos-table.hh:1131:11: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] if (valueFormats[0].apply_value (c, this, &record->values[0], buffer->cur_pos()) | =09=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265778-8522-O9YdsWjZOZ>