Skip to content

fix signedness of N_ARENA causing build failure with -Wformat-signedness#359

Open
rdevshp wants to merge 1 commit into
GrapheneOS:mainfrom
rdevshp:fix_format_specifier_config_stats
Open

fix signedness of N_ARENA causing build failure with -Wformat-signedness#359
rdevshp wants to merge 1 commit into
GrapheneOS:mainfrom
rdevshp:fix_format_specifier_config_stats

Conversation

@rdevshp

@rdevshp rdevshp commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
CFLAGS=-Wformat-signedness make CC=gcc CONFIG_STATS=true

fails with gcc 14.2.0 because of a wrong format specifier in h_malloc_info. This PR fixes the signedness of N_ARENA ( #358 (comment) ).

@rdevshp rdevshp force-pushed the fix_format_specifier_config_stats branch 3 times, most recently from ebb20d5 to 7420d74 Compare July 1, 2026 16:54
@rdevshp rdevshp changed the title fix signedness of N_ARENA fix signedness of N_ARENA causing build failure with -Wformat-signedness Jul 1, 2026
@rdevshp

rdevshp commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

I have made the changes requested in #358 (comment) . Please let me know if there is anything else I need to change.

@rdevshp rdevshp force-pushed the fix_format_specifier_config_stats branch from 7420d74 to 2725309 Compare July 5, 2026 08:56
Fixes
CFLAGS=-Wformat-signedness make CC=gcc CONFIG_STATS=true
build failure
@rdevshp rdevshp force-pushed the fix_format_specifier_config_stats branch from 2725309 to 186e0a8 Compare July 10, 2026 08:00
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.

1 participant