From 897d1c416a1e0a22b115f898ec3e5bb4ecb84536 Mon Sep 17 00:00:00 2001 From: y Date: Tue, 20 Jul 2021 15:34:19 +0300 Subject: [PATCH] Removed a lot -Wno-* compile options --- ngraph/frontend/onnx/onnx_import/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ngraph/frontend/onnx/onnx_import/CMakeLists.txt b/ngraph/frontend/onnx/onnx_import/CMakeLists.txt index 2c0505c9f44b8d..b8eab155d9784c 100644 --- a/ngraph/frontend/onnx/onnx_import/CMakeLists.txt +++ b/ngraph/frontend/onnx/onnx_import/CMakeLists.txt @@ -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