[libc-commits] [libc] [libc][pthread] fix -Wmissing-field-initializers (PR #126314)
Roland McGrath via libc-commits
libc-commits at lists.llvm.org
Fri Feb 7 17:07:42 PST 2025
frobtech wrote:
> Homey, that boat sailed 100 years ago. That feedback should have been to the austin group back when they made up this shit!
This is moot anyway, because you can't use `{}` in C (maybe C23 allows it or something, but not C99 without GNU extensions, definitely). Short of using pragma magic to just suppress the warning (which I'm not even sure you can do in this context), you just have to actually have a value listed for each member and the right number of commas.
https://github.com/llvm/llvm-project/pull/126314
More information about the libc-commits
mailing list