Skip to content

Fix compiler warnings#70

Merged
khaledhosny merged 2 commits into
harfbuzz:mainfrom
pgundlach:main
Dec 8, 2025
Merged

Fix compiler warnings#70
khaledhosny merged 2 commits into
harfbuzz:mainfrom
pgundlach:main

Conversation

@pgundlach

@pgundlach pgundlach commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

Building with
CFLAGS="-std=gnu23 -Wall -Wextra -Wsign-compare" luarocks --local make gives no compiler warnings

See harfbuzz#69

Building with
CFLAGS="-std=gnu23 -Wall -Wextra -Wsign-compare" luarocks --local make
gives no compiler warnings
@khaledhosny

Copy link
Copy Markdown
Contributor

Thanks. I think we should add this CFLAGS to the make file (without the -std=gnu23 part).

@khaledhosny

Copy link
Copy Markdown
Contributor

I’d even add -Werror so similar warnings in the future would cause the CI builds to fail.

@khaledhosny
khaledhosny merged commit 054c29d into harfbuzz:main Dec 8, 2025
2 checks passed
@khaledhosny

Copy link
Copy Markdown
Contributor

Thanks!

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.

Warnings when compiling

2 participants