unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Daniel Colascione <dancol@dancol.org>, emacs-devel@gnu.org
Subject: Re: Why not C99 designated initializer syntax?
Date: Mon, 12 Dec 2016 14:29:15 -0800	[thread overview]
Message-ID: <c299ff12-f897-4ecc-feff-764803650bc5@cs.ucla.edu> (raw)
In-Reply-To: <r025twa83j72.fsf@dancol.org>

On 12/12/2016 01:56 PM, Daniel Colascione wrote:
> Why are we writing code like this?

Because I remembered the old GNU C syntax, and forgot that C99 
standardized on a different syntax. Sorry about that. Should be fixed now.

It is amusing that nobody noticed until now. I guess GNU C syntax is 
pretty widely supported, even among non-GNU compilers.




      parent reply	other threads:[~2016-12-12 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-12 21:56 Why not C99 designated initializer syntax? Daniel Colascione
2016-12-12 22:07 ` Philipp Stephani
2016-12-12 22:11   ` Daniel Colascione
2016-12-12 22:29 ` Paul Eggert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c299ff12-f897-4ecc-feff-764803650bc5@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).