File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 4949#ifndef FMT_MODULE
5050# include < stdlib.h> // malloc, free
5151# include < string.h> // memcpy
52+ # include < stdint.h> // uint32_t
5253
5354# include < cmath> // std::signbit
5455# include < cstddef> // std::byte
55- # include < cstdint> // uint32_t
5656# include < limits> // std::numeric_limits
5757# if defined(__GLIBCXX__) && !defined(_GLIBCXX_USE_DUAL_ABI)
5858// Workaround for pre gcc 5 libstdc++.
148148# define FMT_CONSTEXPR_STRING
149149#endif
150150
151- #if FMT_MSC_VERSION
152- # define FMT_MSC_WARNING (...) __pragma(warning(__VA_ARGS__))
153- #else
154- # define FMT_MSC_WARNING (...)
155- #endif
156-
157151// GCC 4.9 doesn't support qualified names in specializations.
158152namespace std {
159153template <typename T> struct iterator_traits <fmt::basic_appender<T>> {
@@ -221,7 +215,6 @@ namespace detail {
221215
222216inline auto clz (uint32_t x) -> int {
223217 FMT_ASSERT (x != 0 , " " );
224- FMT_MSC_WARNING (suppress : 6102 ) // Suppress a bogus static analysis warning.
225218 unsigned long r = 0 ;
226219 _BitScanReverse (&r, x);
227220 return 31 ^ static_cast <int >(r);
@@ -230,7 +223,6 @@ inline auto clz(uint32_t x) -> int {
230223
231224inline auto clzll (uint64_t x) -> int {
232225 FMT_ASSERT (x != 0 , " " );
233- FMT_MSC_WARNING (suppress : 6102 ) // Suppress a bogus static analysis warning.
234226 unsigned long r = 0 ;
235227# ifdef _WIN64
236228 _BitScanReverse64 (&r, x);
You can’t perform that action at this time.
0 commit comments