Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 931f350

Browse files
committed
8304295: harfbuzz build fails with GCC 7 after JDK-8301998
Backport-of: 34e66ce1ef2decc81557a362d6242313e98417fa
1 parent 3607285 commit 931f350

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make/modules/java.desktop/lib/Awt2dLibraries.gmk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,8 @@ else
470470

471471
HARFBUZZ_DISABLED_WARNINGS_gcc := missing-field-initializers strict-aliasing \
472472
unused-result
473-
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess
473+
# noexcept-type required for GCC 7 builds. Not required for GCC 8+.
474+
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type
474475
HARFBUZZ_DISABLED_WARNINGS_clang := missing-field-initializers range-loop-analysis
475476
HARFBUZZ_DISABLED_WARNINGS_microsoft := 4267 4244
476477

0 commit comments

Comments
 (0)