diff --git a/make/modules/java.desktop/lib/Awt2dLibraries.gmk b/make/modules/java.desktop/lib/Awt2dLibraries.gmk index a0d70333108..87f47126bf7 100644 --- a/make/modules/java.desktop/lib/Awt2dLibraries.gmk +++ b/make/modules/java.desktop/lib/Awt2dLibraries.gmk @@ -455,7 +455,8 @@ else HARFBUZZ_DISABLED_WARNINGS_gcc := missing-field-initializers strict-aliasing \ unused-result # noexcept-type required for GCC 7 builds. Not required for GCC 8+. - HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type + # expansion-to-defined required for GCC 9 builds. Not required for GCC 10+. + HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type expansion-to-defined HARFBUZZ_DISABLED_WARNINGS_clang := missing-field-initializers range-loop-analysis HARFBUZZ_DISABLED_WARNINGS_microsoft := 4267 4244