Skip to content

Conversation

@clhin
Copy link
Contributor

@clhin clhin commented Nov 5, 2025

This removes about 400 lines of -Wpedantic complaining, this is a useless gnuism, as the c99 standard func does the exact same thing as FUNCTION

@metux metux requested a review from a team November 6, 2025 10:36
@algrid
Copy link

algrid commented Nov 6, 2025

Should we really consider -Wpedantic warnings while we explicitly require gnu99?

@clhin
Copy link
Contributor Author

clhin commented Nov 6, 2025

Should we really consider -Wpedantic warnings while we explicitly require gnu99?

I personally don't think we should rely on the GNU extensions so that we can use quick compilers for development like TCC and build releases with GCC if desired, but thats just my opinion. I do think some of the pedantic warnings are a bit heavy handed (anonymous structs are flagged but are later supported in C11), but this is a bit of housekeeping that I think lets our code be more portable.

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