We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82b8ea1 commit feb2003Copy full SHA for feb2003
test/common/test_sharding.h
@@ -1,6 +1,11 @@
1
#ifndef TEST_SHARDING_H
2
#define TEST_SHARDING_H
3
4
+#ifdef _MSC_VER
5
+#pragma warning(push)
6
+#pragma warning(disable : 4996)
7
+#endif
8
+
9
// This file may be used by AOT tests, so it deliberately does not
10
// include Halide.h
11
@@ -86,4 +91,8 @@ class Sharder {
86
91
} // namespace Internal
87
92
} // namespace Halide
88
93
94
95
+#pragma warning(pop)
96
97
89
98
#endif // TEST_SHARDING_H
0 commit comments