diff options
Diffstat (limited to 'editor/tests.cpp')
-rw-r--r-- | editor/tests.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editor/tests.cpp b/editor/tests.cpp index 4da1553f..819efe72 100644 --- a/editor/tests.cpp +++ b/editor/tests.cpp @@ -5,9 +5,19 @@ #include "floormat/events.hpp" #include "src/nanosecond.inl" #include "imgui-raii.hpp" + +#ifdef __GNUG__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wswitch-default" +#endif + #define HAVE_LIBC 1 #include <SDL_keycode.h> +#ifdef __GNUG__ +#pragma GCC diagnostic pop +#endif + namespace floormat::tests { static_assert(arraySize(tests_data::fields) == (size_t)Test::COUNT); |