https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39589

Peter Frost <mail at pfrost dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at pfrost dot me

--- Comment #14 from Peter Frost <mail at pfrost dot me> ---
Created attachment 55786
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55786&action=edit
Proposed patch

I had a quick go at implementing this as I also wanted this warning. This
implements a `-Wmissing-field-initializers=2` warning for uninitialized
designated initializers

FYI, this is the first time I've worked on the GCC codebase, so I have no idea
if this follow best practices etc. But it seems to work if anyone wanted to try
it out

Thanks,
Peter

Reply via email to