changeset 56846:5bc2e9c9604d

8233698: GCC 4.8.5 build failure after JDK-8233530 Reviewed-by: stuefe, dholmes, kbarrett
author shade
date Wed, 06 Nov 2019 19:37:30 +0100
parents 38d4202154f2
children dfd5196652dd
files src/hotspot/share/memory/operator_new.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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__