Fixed some warnings for Windows
This commit is contained in:
@@ -31,6 +31,9 @@ namespace ngraph {
|
||||
class NGRAPH_API_DEPRECATED NGRAPH_API OpSet : public ov::OpSet {
|
||||
public:
|
||||
explicit OpSet(const ov::OpSet& opset);
|
||||
NGRAPH_SUPPRESS_DEPRECATED_START
|
||||
OpSet(const ngraph::OpSet& opset);
|
||||
NGRAPH_SUPPRESS_DEPRECATED_END
|
||||
OpSet() = default;
|
||||
/// \brief Insert an op into the opset with a particular name and factory
|
||||
void insert(const std::string& name, const NodeTypeInfo& type_info, FactoryRegistry<Node>::Factory factory) {
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
NGRAPH_SUPPRESS_DEPRECATED_START
|
||||
ngraph::OpSet::OpSet(const ov::OpSet& opset) : ov::OpSet(opset) {}
|
||||
|
||||
ngraph::OpSet::OpSet(const ngraph::OpSet& opset) : ov::OpSet(opset) {}
|
||||
|
||||
ov::OpSet::OpSet(const std::string& name) : m_name(name) {}
|
||||
|
||||
ov::OpSet::OpSet(const ov::OpSet& opset) {
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
set(TARGET_NAME "frontend_common")
|
||||
|
||||
# Suppress warnings with FactoryRegistry autogenerated destructor
|
||||
ov_deprecated_no_errors()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
ie_add_compiler_flags(-Wmissing-declarations)
|
||||
endif()
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#include "ie_api.h"
|
||||
IE_SUPPRESS_DEPRECATED_START
|
||||
|
||||
#include "cnn_network_ngraph_impl.hpp"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
Reference in New Issue
Block a user