Added -Wall for Clang and GCC (#15513)

* Added -Wall for Clang and GCC

* Fixes

* Don't use /J

* Fixed warnings

* Fixed warnings

* More fixes

* Fixed for MSVC

* Fixed more warnings on Windows

* Suppressed some warnings in template plugin

* Update src/tests/functional/plugin/shared/include/behavior/plugin/caching_tests.hpp

* Added suppression for PT FE

* Suppressed warnings in TF FE

* Suppressed warnings on Core unit tests

* Suppress warnings in python

* Suppressed Windows warning for 3rd party modules

* Suppresed one more warning
This commit is contained in:
Ilya Lavrenov
2023-02-08 15:01:00 +04:00
committed by GitHub
parent 6b503099db
commit 1f3e469c5e
312 changed files with 1261 additions and 1290 deletions

View File

@@ -70,7 +70,7 @@ ov::Tensor read_weights(const std::string& filepath) {
ov::Tensor weights(ov::element::u8, {static_cast<size_t>(fileSize)});
read_file(filepath, weights.data(), weights.get_byte_size());
return std::move(weights);
return weights;
}
/**