diff --git a/include/Khaos/Version.h b/include/Khaos/Version.h index 301371b..9198559 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("GCC diagnostic push")_Pragma("GCC diagnostic ignored \"-Wc++98-compat-pedantic\"") - #define KHAOS_POP_WARNING_CXX98_COMPAT_PEDANTIC() _Pragma("GCC diagnostic pop") + #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") #else #define KHAOS_PUSH_WARNING_CXX98_COMPAT_PEDANTIC() #define KHAOS_POP_WARNING_CXX98_COMPAT_PEDANTIC()