Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qatzip_lz4: function declaration without a prototype for qzLZ4HeaderSz #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kshtsk
Copy link

@kshtsk kshtsk commented Aug 28, 2024

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]

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]

Signed-off-by: Kyr Shatskyy <[email protected]>
@XingHongChenIntel
Copy link
Contributor

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
Copy link
Author

kshtsk commented Sep 2, 2024

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants