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

warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argumentbuild: #763

Closed
vtorri opened this issue May 19, 2024 · 3 comments · Fixed by #764
Labels

Comments

@vtorri
Copy link
Contributor

vtorri commented May 19, 2024

libass version

0.17.2

Is it a regression?

no

How did you invoke configure?

CPPFLAGS="$CPPFLAGS -I$HOME/ewpi_64/include -I$HOME/ewpi_64/include/fribidi -I$HOME/ewpi_64/include/freetype2 -I$HOME/ewpi_64/include/harfbuzz" ./configure --prefix=$3 --host=$4 --disable-static

System Information

windows 10

Toolchain

w86_64-w64-mingw32 gcc 14.1.0

Log of the error

several calloc() invocations reverse the order of num and size args :

warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument

Configuration log

No response

Additional info

if you want, i can provide a PR

@vtorri vtorri added the build label May 19, 2024
@rcombs
Copy link
Member

rcombs commented May 19, 2024

PR welcome; otherwise, please specify which invocations this is referring to.

@vtorri
Copy link
Contributor Author

vtorri commented May 19, 2024

ok, I'll provide a PR

@vtorri
Copy link
Contributor Author

vtorri commented May 19, 2024

see #764

@TheOneric TheOneric linked a pull request May 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants