Update KleidiCV to version 0.3#26623
Conversation
1f8bff8 to
f60629d
Compare
f60629d to
d6712da
Compare
| # HACK to suppress adapters/opencv/kleidicv_hal.cpp:343:12: warning: unused function 'from_opencv' [-Wunused-function] | ||
| target_compile_options( kleidicv_hal PRIVATE | ||
| $<TARGET_PROPERTY:kleidicv,COMPILE_OPTIONS> | ||
| "-Wno-old-style-cast" "-Wno-unused-function" |
There was a problem hiding this comment.
Need to include through -isystem to avoid warnings from these external headers.
https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
Example:
https://github.com/opencv/opencv/blob/4.10.0/3rdparty/protobuf/CMakeLists.txt#L154
There was a problem hiding this comment.
The issue happens inside cpp file, not header. So the -isystem flag is not applicable here.
There was a problem hiding this comment.
Why does this widely used approach not work?
https://github.com/opencv/opencv/blob/4.10.0/3rdparty/libjpeg-turbo/CMakeLists.txt#L11
There was a problem hiding this comment.
I tried it. Most probably the issue is that the ocv_disable_warning works well inside the cmake "project" scope, but does not outside.
d4e8ef8 to
a4c8d31
Compare
KleidiCV 0.3 release notes: https://gitlab.arm.com/kleidi/kleidicv/-/releases
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.