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 f8d6c5b commit 55e8549Copy full SHA for 55e8549
modules/dnn/src/op_inf_engine.hpp
@@ -44,7 +44,7 @@
44
#pragma GCC diagnostic ignored "-Wsuggest-override"
45
#endif
46
47
-#ifdef HAVE_DNN_IE_NN_BUILDER_2019
+#if defined(HAVE_DNN_IE_NN_BUILDER_2019) || INF_ENGINE_VER_MAJOR_EQ(INF_ENGINE_RELEASE_2020_4)
48
//#define INFERENCE_ENGINE_DEPRECATED // turn off deprecation warnings from IE
49
//there is no way to suppress warnings from IE only at this moment, so we are forced to suppress warnings globally
50
#if defined(__GNUC__)
@@ -53,7 +53,7 @@
53
#ifdef _MSC_VER
54
#pragma warning(disable: 4996) // was declared deprecated
55
56
-#endif // HAVE_DNN_IE_NN_BUILDER_2019
+#endif
57
58
#if defined(__GNUC__) && INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_1)
59
#pragma GCC visibility push(default)
0 commit comments