diff --git a/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt b/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt index fe628c9c70a..a8816b290f3 100644 --- a/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt +++ b/src/bindings/python/src/compatibility/openvino/inference_engine/CMakeLists.txt @@ -21,9 +21,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") # 'argument': conversion from 'size_t' to 'int', possible loss of data ie_add_compiler_flags(/wd4267) ie_add_compiler_flags(/wd4244) + ie_add_compiler_flags(/wd4551) endif() -if (OV_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNUCXX) +if(OV_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNUCXX) ie_add_compiler_flags(-Wno-undef) + if(OV_COMPILER_IS_CLANG) + ie_add_compiler_flags(-Wno-parentheses-equality) + endif() endif() if(UNUSED_BUT_SET_VARIABLE_SUPPORTED) ie_add_compiler_flags(-Wno-unused-but-set-variable) diff --git a/src/bindings/python/src/compatibility/openvino/requirements-dev.txt b/src/bindings/python/src/compatibility/openvino/requirements-dev.txt index 1b36134de0b..aca50982d0d 100644 --- a/src/bindings/python/src/compatibility/openvino/requirements-dev.txt +++ b/src/bindings/python/src/compatibility/openvino/requirements-dev.txt @@ -1 +1 @@ -cython>=0.29.32,<=0.29.36 +cython>=0.29.32