Catching the mismatch
Catching the mismatch
Posted Feb 11, 2025 11:20 UTC (Tue) by adobriyan (subscriber, #30858)In reply to: Catching the mismatch by farnz
Parent article: Maintainer opinions on Rust-for-Linux
C compilers could (not warn) for underscored names while C programmers are waiting for C23.
Posted Feb 11, 2025 11:28 UTC (Tue)
by farnz (subscriber, #17727)
[Link] (1 responses)
Posted Feb 13, 2025 5:26 UTC (Thu)
by aaronmdjones (subscriber, #119973)
[Link]
I just checked, because I recalled that the Standard reserves names beginning with underscore; but that only applies to globally visible names, not local ones, so it'd be fine to use a name beginning underscore to suppress the warning.
Catching the mismatch
Catching the mismatch