Skip to content

Commit

Permalink
Test with GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde committed May 14, 2024
1 parent 7a7e376 commit 43fdabe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Khaos/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 43fdabe

Please sign in to comment.