File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 1010#include " openvino/op/abs.hpp"
1111#include " openvino/pass/serialize.hpp"
1212#include " openvino/runtime/core.hpp"
13-
14- #define XML_UTIL_LINKAGE_WORKAROUND
15- /*
16- There is an issue with doubled definition of stringstream on MSVC 14.44 (VS 17 2022):
17- openvinod.lib(openvinod.dll) : error LNK2005: "protected: __cdecl std::basic_streambuf<char,struct
18- std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<ch ar> >(void)"
19- (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in frontend_test_basic.obj
20- [D:\ov\build\src\frontends\ir\tests\ov_ir_frontend_tests .vcxproj]
21- It's not certain whether it's OV or MS problem, thus the workaround.
22- */
23- #ifdef XML_UTIL_LINKAGE_WORKAROUND
24- namespace ov ::util {
25- OPENVINO_API std::string rt_info_get_user_name (const std::string& custom_name);
26- OPENVINO_API Any& rt_info_get_user_data (AnyMap& rt_map, const std::string& custom_name);
27- OPENVINO_API const Any& rt_info_get_user_data (const AnyMap& rt_map, const std::string& custom_name);
28- OPENVINO_API void rt_info_set_user_data (AnyMap& rt_map, const std::string& custom_name, const Any& value);
29- } // namespace ov::util
30- #else
31- # include " openvino/xml_util/xml_serialize_util.hpp"
32- #endif
13+ #include " openvino/xml_util/xml_serialize_util.hpp"
3314
3415namespace ov ::test {
3516
You can’t perform that action at this time.
0 commit comments