Skip to content

Commit

Permalink
[CPU] Suppress alloc-size-larger-than warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
nshchego committed May 10, 2024
1 parent bb33121 commit 7c42932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif()
set(TARGET_NAME "openvino_intel_cpu_plugin")

if((CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG) AND CMAKE_CXX_STANDARD GREATER_EQUAL 20)
set(CMAKE_CXX_FLAGS "-Wno-error=deprecated ${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS "-Wno-error=deprecated -Wno-alloc-size-larger-than ${CMAKE_CXX_FLAGS}")
endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
Expand Down

0 comments on commit 7c42932

Please sign in to comment.