Skip to content

Commit

Permalink
[TOKENIZERS] Disabled C4703 (#796)
Browse files Browse the repository at this point in the history
* disabled error C4703

* Update modules/custom_operations/user_ie_extensions/tokenizer/CMakeLists.txt

---------

Co-authored-by: Ilya Lavrenov <[email protected]>
  • Loading branch information
mryzhov and ilya-lavrenov authored Dec 20, 2023
1 parent 5c0182d commit e89a1d9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ if(SUGGEST_OVERRIDE_SUPPORTED)
set(cxx_flags "${cxx_flags} -Wno-suggest-override")
endif()

if(WIN32 AND X86_64)
# disable compiler warning C4703
set(cxx_flags "${cxx_flags} /wd4703")
endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${cxx_flags} ${c_cxx_flags}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${c_cxx_flags}")

Expand Down

0 comments on commit e89a1d9

Please sign in to comment.