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

fix fatal cmalloc warnings as seen with gcc (SUSE Linux) 14.2.1 #122

Open
wants to merge 1 commit into
base: sdk-2.0.0
Choose a base branch
from

Conversation

joba-1
Copy link

@joba-1 joba-1 commented Jan 4, 2025

gcc 14 spits out warning error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument
This aborts the build due to treating warnings as error.
Easy fix is swapping arguments

@lurch
Copy link

lurch commented Jan 6, 2025

Duplicate of #101 ?

@joba-1
Copy link
Author

joba-1 commented Jan 8, 2025

as long as you define issue == solution :)

I searched for that error message and did not find the workaround before I fixed it, so I guess a solution would help others not to waste their time.

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