8233698: GCC 4.8.5 build failure after JDK-8233530
authorshade
Wed, 06 Nov 2019 19:37:30 +0100
changeset 58954 5bc2e9c9604d
parent 58953 38d4202154f2
child 58955 dfd5196652dd
8233698: GCC 4.8.5 build failure after JDK-8233530 Reviewed-by: stuefe, dholmes, kbarrett
src/hotspot/share/memory/operator_new.cpp
--- a/src/hotspot/share/memory/operator_new.cpp	Wed Nov 06 15:20:06 2019 +0800
+++ b/src/hotspot/share/memory/operator_new.cpp	Wed Nov 06 19:37:30 2019 +0100
@@ -91,7 +91,9 @@
 
 #ifdef __GNUG__
 // Warning disabled for gcc 5.4
+// Warning for unknown warning disabled for gcc 4.8.5
 PRAGMA_DIAG_PUSH
+PRAGMA_DISABLE_GCC_WARNING("-Wpragmas")
 PRAGMA_DISABLE_GCC_WARNING("-Wc++14-compat")
 #endif // __GNUG__