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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jun 27, 2025 | Parameterized types in C using the new tag compatibility rule by ingve | 154 | 95 |