[PATCH] Treat { 0 } specially for structs with the designated_init attribute.

Asher Gordon AsDaGo@posteo.net
Wed Jun 3 23:03:11 GMT 2020


Asher Gordon <AsDaGo@posteo.net> writes:

> Also note that this patch does not implement a -Wno-designated-init
> flag, but that shouldn't be too hard to implement.

Sorry, I meant -Wno-universal-initializer, not -Wno-designated-init.

Asher

-- 
Vimes grunted.  "Where there are policemen there's crime, sergeant,
remember that."

"Yes, I do, sir, although I think it sounds better with a little reordering
of the words."

  [Snuff, by Terry Pratchett]
                               --------
I prefer to send and receive mail encrypted. Please send me your
public key, and if you do not have my public key, please let me
know. Thanks.

GPG fingerprint: 38F3 975C D173 4037 B397  8095 D4C9 C4FC 5460 8E68
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200603/5a2672f0/attachment.sig>


More information about the Gcc-patches mailing list