Skip to content

Commit c8e9c91

Browse files
committed
8307569: Build with gcc8 is broken after JDK-8307301
Reviewed-by: shade Backport-of: 64c09628664fd19c281723f15bf677c52e360acd
1 parent 09fdf1d commit c8e9c91

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,10 @@ else
460460

461461
HARFBUZZ_DISABLED_WARNINGS_gcc := type-limits missing-field-initializers strict-aliasing
462462
# noexcept-type required for GCC 7 builds. Not required for GCC 8+.
463+
# expansion-to-defined required for GCC 9 builds. Not required for GCC 10+.
463464
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := reorder delete-non-virtual-dtor strict-overflow \
464-
maybe-uninitialized class-memaccess unused-result extra use-after-free noexcept-type
465+
maybe-uninitialized class-memaccess unused-result extra use-after-free noexcept-type \
466+
expansion-to-defined
465467
HARFBUZZ_DISABLED_WARNINGS_clang := unused-value incompatible-pointer-types \
466468
tautological-constant-out-of-range-compare int-to-pointer-cast \
467469
undef missing-field-initializers range-loop-analysis \

0 commit comments

Comments
 (0)