We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9be120a commit dc39128Copy full SHA for dc39128
src/utils/utils_windows_math.c
@@ -8,8 +8,20 @@
8
*/
9
10
#include "utils_math.h"
11
+
12
+// disable warning 28251: "inconsistent annotation for function" thrown in
13
+// intrin.h, as we do not want to modify this file
14
+#if defined(_MSC_VER)
15
+#pragma warning(push)
16
+#pragma warning(disable : 28251)
17
+#endif // _MSC_VER
18
19
#include <intrin.h>
20
21
22
+#pragma warning(pop)
23
24
25
#pragma intrinsic(_BitScanReverse)
26
27
// Retrieves the position of the leftmost set bit.
0 commit comments