aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/spdlog/tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/spdlog/tests/main.cpp')
-rw-r--r--thirdparty/spdlog/tests/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/thirdparty/spdlog/tests/main.cpp b/thirdparty/spdlog/tests/main.cpp
new file mode 100644
index 000000000..a4a4ff154
--- /dev/null
+++ b/thirdparty/spdlog/tests/main.cpp
@@ -0,0 +1,10 @@
+#if defined(__GNUC__) && __GNUC__ == 12
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Workaround for GCC 12
+#endif
+
+#include <catch2/catch_all.hpp>
+
+#if defined(__GNUC__) && __GNUC__ == 12
+ #pragma GCC diagnostic pop
+#endif