Skip to content

Commit

Permalink
Removed a lot -Wno-* compile options
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Jul 20, 2021
1 parent b1dd8f8 commit 897d1c4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ngraph/frontend/onnx/onnx_import/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,8 @@ if(NGRAPH_USE_PROTOBUF_LITE)
target_compile_definitions(onnx_importer PRIVATE NGRAPH_USE_PROTOBUF_LITE)
endif()

if (OV_COMPILER_IS_CLANG)
target_compile_options(onnx_importer PRIVATE -Wno-undef -Wno-reserved-id-macro -Wno-switch-enum
-Wno-invalid-offsetof -Wno-shorten-64-to-32 -Wno-unused-macros -Wno-missing-variable-declarations
-Wno-unused-private-field -Wno-shadow -Wno-deprecated PUBLIC -Wno-undefined-func-template)
if(OV_COMPILER_IS_CLANG)
target_compile_options(onnx_importer PRIVATE -Wno-undef)
endif()

install(TARGETS onnx_importer EXPORT ngraphTargets
Expand Down

0 comments on commit 897d1c4

Please sign in to comment.