Chris Wellons personal blog

Parameterized types in C using the new tag compatibility rule

C23 has a new rule for struct, union, and enum compatibility finally appearing in compilers starting with GCC 15, released this past April, and Clang later this year. The same struct defined in different translation units (TU) has always been compatible — essential to how they work. Until this rule change, each such…
Points
154
HN comments
95
Submissions
1
Cited by
0 commenters

Software EngineeringProgramming Languages2025

On Hacker News

SubmittedTitle on HNPointsComments
Jun 27, 2025Parameterized types in C using the new tag compatibility rule by ingve15495

More from Chris Wellons

All 75 posts →

Related posts from the same era