From 43fdabe0ace2a405c40456ad84d6e6525dd92c78 Mon Sep 17 00:00:00 2001 From: flagarde Date: Tue, 14 May 2024 15:46:19 +0800 Subject: [PATCH] Test with GCC --- include/Khaos/Version.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Khaos/Version.h b/include/Khaos/Version.h index 9198559..301371b 100644 --- a/include/Khaos/Version.h +++ b/include/Khaos/Version.h @@ -25,8 +25,8 @@ */ #if defined(__clang__) - #define KHAOS_PUSH_WARNING_CXX98_COMPAT_PEDANTIC() _Pragma("clang diagnostic push")_Pragma("clang diagnostic ignored \"-Wc++98-compat-pedantic\"") - #define KHAOS_POP_WARNING_CXX98_COMPAT_PEDANTIC() _Pragma("clang diagnostic pop") + #define KHAOS_PUSH_WARNING_CXX98_COMPAT_PEDANTIC() _Pragma("GCC diagnostic push")_Pragma("GCC diagnostic ignored \"-Wc++98-compat-pedantic\"") + #define KHAOS_POP_WARNING_CXX98_COMPAT_PEDANTIC() _Pragma("GCC diagnostic pop") #else #define KHAOS_PUSH_WARNING_CXX98_COMPAT_PEDANTIC() #define KHAOS_POP_WARNING_CXX98_COMPAT_PEDANTIC()