diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 10:49:46 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 10:49:46 +0100 |
commit | 1ab99adea0500e6e443b8cbbc20bbc4aa60f5a5f (patch) | |
tree | c81ece0d66fb56350eedf9f3bcce1309a1004bf4 | |
parent | 0f25ef5bb5292cffb2ffc59124c97d6332d7ec65 (diff) |
kill warning
-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); |