From a53507df614d444fdff60a5cb28b50431eb84fff Mon Sep 17 00:00:00 2001 From: OpenJDK Team Date: Tue, 30 Jul 2024 08:42:49 +0200 Subject: [PATCH] 8199220 # HG changeset patch # User enevill # Date 1520877434 0 # Mon Mar 12 17:57:14 2018 +0000 # Node ID 81265b23c488c7fd03ebaee04d1802fc0ada737e # Parent ecd91135d645bed6620abbd76ce30a906b6d7d44 8199220: Zero build broken after 8195103, 8191102 and 8189871 Reviewed-by: dholmes, stuefe, eosterlund, glaubitz, coleenp Gbp-Pq: Name 8199220.diff --- src/hotspot/share/utilities/debug.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/share/utilities/debug.hpp b/src/hotspot/share/utilities/debug.hpp index 11b79f3cb..b1092f45b 100644 --- a/src/hotspot/share/utilities/debug.hpp +++ b/src/hotspot/share/utilities/debug.hpp @@ -185,6 +185,7 @@ void warning(const char* format, ...) ATTRIBUTE_PRINTF(1, 2); // use of an array type. template struct STATIC_ASSERT_FAILURE; +template<> struct STATIC_ASSERT_FAILURE { enum { value = 0 }; }; template<> struct STATIC_ASSERT_FAILURE { enum { value = 1 }; }; #define STATIC_ASSERT(Cond) \ -- 2.30.2