On Wed, Aug 05, 2026 at 01:57:47PM +0200, [email protected]
wrote:
> Hmm, since I see -Wmissing-braces mentioned, is there a chance that this
> fixes/changes the c++20 behaviour reported in PR c++/126131?
Not sure, don't use designators in that case or disable the warning?
It is a case where omitting the designator on the anon union is invalid if
it is used in oother designators, even with the C++29 rules, and designating
the anon union member without {}s around it is what -Wmissing-braces is
supposed to warn about.
Jakub