Actions
Bug #64472
openqatzip submodule: compilation fails with clang 16+
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
$ cmake -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug .. $ cmake --build . --target ceph_zlib
In file included from qatzip.c:67: ./qatzip_internal.h:445:25: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 445 | void streamBufferCleanup(); | ^ | void qatzip.c:1680:18: error: variable 'sleep_cnt' set but not used [-Werror,-Wunused-but-set-variable] 1680 | unsigned int sleep_cnt = 0; | ^ qatzip.c:2565:18: error: variable 'sleep_cnt' set but not used [-Werror,-Wunused-but-set-variable] 2565 | unsigned int sleep_cnt = 0; | ^ 3 errors generated.
i verified that qatzip's master branch fails the same way, so reported the issue in https://github.com/intel/QATzip/issues/111
Actions