[Bug c/95379] Don't warn about the universal zero initializer for a structure with the 'designated_init' attribute.

AsDaGo at posteo dot net gcc-bugzilla@gcc.gnu.org
Thu May 28 21:15:14 GMT 2020


--- Comment #12 from Asher Gordon <AsDaGo at posteo dot net> ---
(In reply to Luc Van Oostenryck from comment #11)
> Sparse already has this option. Also, I don't think it would help here since
> from I understand the OP want these warnings but not if they're caused by
> using '{ 0 }'.

That is correct. I want what is provided by '-Wdesignated-init

More information about the Gcc-bugs mailing list