intel / QATzip

Compression Library accelerated by Intel® QuickAssist Technology
https://developer.intel.com/quickassist
Other
137 stars 51 forks source link

qatzip_lz4: function declaration without a prototype for qzLZ4HeaderSz #118

Open kshtsk opened 2 weeks ago

kshtsk commented 2 weeks ago

On modern compilers it becomes a compilation error with message:

error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]

XingHongChenIntel commented 2 weeks ago

hello @kshtsk, Very thanks for your PR, Could you please share the detailed info of modern compilers? do you using the high version gcc compiler or clang compiler, we want to update our STV compiler, so we could capture those compiler issue

kshtsk commented 2 weeks ago

hello @kshtsk, Very thanks for your PR, Could you please share the detailed info of modern compilers? do you using the high version gcc compiler or clang compiler, we want to update our STV compiler, so we could capture those compiler issue

I am using clang-17 recently to reproduce this:

make clean ; ./configure CC=clang-17 ; make
XingHongChenIntel commented 2 weeks ago

hello @kshtsk, thanks we have already fixed it in internal repo, will upstream those fixs in next release around Q4.