diff --git a/include/Khaos/Version.h b/include/Khaos/Version.h index 6eb58a3..b041570 100644 --- a/include/Khaos/Version.h +++ b/include/Khaos/Version.h @@ -10,6 +10,10 @@ #ifndef KHAOS_VERSION_H_ #define KHAOS_VERSION_H_ +#if defined(__clang__) + #pragma clang diagnostic push +#endif + /*! * \file Version.h * \brief Define macros to set, get versions. @@ -81,4 +85,9 @@ */ #define GET_VERSION_TWEAK(name) (((KHAOS_DEFINE_##name##_VERSION_PRIVATE()) * 1ULL) % (1 << 16)) /* //NOSONAR */ +#if defined(__clang__) + #pragma clang diagnostic ignored "-Wc++98-compat-pedantic" + #pragma clang diagnostic pop +#endif + #endif /* KHAOS_VERSION_H_ */