Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Feb 6, 2023
1 parent b56f962 commit 8c39ec0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions cmake/developer_package/compile_flags/os_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ macro(ov_disable_deprecated_warnings)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ie_c_cxx_deprecated}")
endmacro()

macro(disable_deprecated_warnings)
ov_disable_deprecated_warnings()
endmacro()

#
# ov_deprecated_no_errors()
#
Expand Down Expand Up @@ -456,6 +460,10 @@ else()
endif()
endif()

# if(OV_COMPILER_IS_CLANG)
# ie_add_compiler_flags(-Wshorten-64-to-32)
# endif()

#
# link_system_libraries(target <PUBLIC | PRIVATE | INTERFACE> <lib1 [lib2 lib3 ...]>)
#
Expand Down
2 changes: 1 addition & 1 deletion src/core/include/openvino/op/util/multi_subgraph_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class OPENVINO_API MultiSubGraphOp : public Op {
///
/// \param index sub-graph's index in op
/// \return pointer to Model with sub-graph
virtual const std::shared_ptr<Model>& get_function(int index) const {
virtual const std::shared_ptr<Model>& get_function(size_t index) const {
return m_bodies[index];
};
/// \brief Adds sub-graph to MultiSubGraphOp
Expand Down

0 comments on commit 8c39ec0

Please sign in to comment.