commit 5f840a76141f80343f236a6c147f0e520b071f87
parent 6c64ae840367889d3679509c84be9a815b515a85
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Mon, 5 Sep 2016 10:49:35 +0300
Supress -Wshift-count-negative
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/include/kfr/base/digitreverse.hpp b/include/kfr/base/digitreverse.hpp
@@ -50,6 +50,7 @@ constexpr inline u32 bit_permute_step_simple(u32 x, u32 m, u32 shift)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshift-count-overflow"
+#pragma GCC diagnostic ignored "-Wshift-count-negative"
template <size_t radix, size_t bits>
constexpr enable_if<radix == 4, u32> digitreverse(u32 x)