Skip to content

build: disable clang warning in clapack 3rdparty#26528

Merged
asmorkalov merged 1 commit intoopencv:5.xfrom
mshabunin:fix-clang-warning-cblas
Nov 26, 2024
Merged

build: disable clang warning in clapack 3rdparty#26528
asmorkalov merged 1 commit intoopencv:5.xfrom
mshabunin:fix-clang-warning-cblas

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

Compiler: LLVM/Clang 19
Warning:

/home/ubuntu/opencv/3rdparty/clapack/runtime/cblas_wrap.c:286:13: warning: '&&' of a value and its negation always evaluates to false [-Wtautological-negation-compare]

Location:

if (info && !info)
xerbla_(empty, &info); /* Force link of our F77 error handler */

@asmorkalov asmorkalov self-assigned this Nov 26, 2024
@asmorkalov asmorkalov merged commit 37e13f9 into opencv:5.x Nov 26, 2024
@mshabunin mshabunin deleted the fix-clang-warning-cblas branch November 26, 2024 19:03
@opencv-alalek
Copy link
Copy Markdown
Contributor

Looks like a bug in clapack generator (from #18571)

@opencv-alalek opencv-alalek mentioned this pull request Nov 27, 2024
6 tasks
@mshabunin
Copy link
Copy Markdown
Contributor Author

Comment says that this construct is to force link of F77 function, I'm not sure if it actually works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants