diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_hilbert.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_hilbert.cpp b/test/test_hilbert.cpp index a83ee33..d2db1e1 100644 --- a/test/test_hilbert.cpp +++ b/test/test_hilbert.cpp @@ -11,9 +11,22 @@ #include "chilbert/StaticBitVec.hpp" #include "chilbert/chilbert.ipp" +#if defined(__clang__) +_Pragma("clang diagnostic push") +_Pragma("clang diagnostic ignored \"-Wcovered-switch-default\"") +_Pragma("clang diagnostic ignored \"-Wdouble-promotion\"") +_Pragma("clang diagnostic ignored \"-Wreserved-id-macro\"") +_Pragma("clang diagnostic ignored \"-Wsign-conversion\"") +_Pragma("clang diagnostic ignored \"-Wzero-as-null-pointer-constant\"") +#endif + #include <gmp.h> #include <gmpxx.h> +#if defined(__clang__) +_Pragma("clang diagnostic pop") +#endif + #include <array> #include <cassert> #include <climits> |