Re: [PATCH] strbuf: use designated initializers in STRBUF_INIT
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Jul 10, 2017, 17:10 UTC
- Message-ID
- <87wp7g9pzx.fsf@linux-m68k.org>
- In-Reply-To
- <20170710070342.txmlwwq6gvjkwtw7@sigill.intra.peff.net>
On Jul 10 2017, Jeff King <peff@peff.net> wrote:
Show 6 quoted lines
> If this patch can survive a few releases without complaint, > then we can feel more confident that designated initializers > are widely supported by our user base. It also is an > indication that other C99 features may be supported, but not > a guarantee (e.g., gcc had designated initializers before > C99 existed).
Note that the GNU C designated initializers initially used a different syntax than the one C99 adopted.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."