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 65ba2e0 commit 9e298eaCopy full SHA for 9e298ea
modules/python/src2/cv2.cpp
@@ -1,9 +1,13 @@
1
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
2
// eliminating duplicated round() declaration
3
#define HAVE_ROUND 1
4
+#pragma warning(push)
5
+#pragma warning(disable:5033) // 'register' is no longer a supported storage class
6
#endif
-
7
#include <Python.h>
8
+#if defined(_MSC_VER) && (_MSC_VER >= 1800)
9
+#pragma warning(pop)
10
+#endif
11
12
#define MODULESTR "cv2"
13
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
0 commit comments