summaryrefslogtreecommitdiffstats
path: root/src/fmt.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fmt.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fmt.h b/src/fmt.h
new file mode 100644
index 000000000..0fe69845a
--- /dev/null
+++ b/src/fmt.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#ifdef __clang__
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
+ #pragma clang diagnostic ignored "-Wunknown-warning-option"
+ #pragma clang diagnostic ignored "-Wsigned-enum-bitfield"
+ #pragma clang diagnostic ignored "-Wundefined-func-template"
+ #pragma clang diagnostic ignored "-Wc++2a-compat"
+#endif
+
+#include <fmt/format.h>
+#include <fmt/printf.h>
+
+#ifdef __clang__
+ #pragma clang diagnostic pop
+#endif
+