Skip to content

Modernize codebase: Autoconf and C#98

Draft
gruenich wants to merge 6 commits intoge-ne:masterfrom
gruenich:feature/modernize-codebase
Draft

Modernize codebase: Autoconf and C#98
gruenich wants to merge 6 commits intoge-ne:masterfrom
gruenich:feature/modernize-codebase

Conversation

@gruenich
Copy link
Collaborator

@gruenich gruenich commented Dec 27, 2025

Update Autoconf
Make C function declarations compatible with C23
Make C variables more local

This contains #96. It aims for a general modernization. If wanted, commits can be cherry-picked independently.

Use latest Autoconf 2.72
Same for third-party regex 0.12
Cherry-pick changes to stay compatible with older
versions of autoconf
They are no longer allowed in C23.

Citing the GCC documentation: "An old-style (or “K&R”) function
definition is the way function definitions were written in the
1980s. [..] There is no reason to write a definition this way
nowadays, but they can still be seen in older GNU programs."

https://www.gnu.org/software/c-intro-and-ref/manual/html_node/Old_002dStyle-Function-Definitions.html
Most found by Cppcheck (variableScope)
@gruenich gruenich marked this pull request as draft January 14, 2026 17:49
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