From: Paul Eggert <eggert@cs.ucla.edu>
To: Dmitry Antipov <dmantipov@yandex.ru>,
Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] trunk r117846: Add macros to allocate temporary Lisp objects with alloca.
Date: Tue, 09 Sep 2014 08:10:11 -0700 [thread overview]
Message-ID: <540F1853.40509@cs.ucla.edu> (raw)
In-Reply-To: <540F0BCB.4030506@yandex.ru>
Dmitry Antipov wrote:
> No ideas why alignas (X) is designed in such a way.
You'll have to ask the committee. :-) For C11, the C standardization
committee decided to allow alignas only when declaring objects; alignas
cannot be used in typedefs or in the definitions of structures. Emacs
prefers alignas when it works, since alignas is standardized and is more
likely to be portable, but for this particular feature (an aligned
structure type) Emacs uses a GCC extension instead, since there's no way
to do it in the standard.
I'll try to review the code carefully soon.
next prev parent reply other threads:[~2014-09-09 15:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1XRCNv-0007Z7-Ic@vcs.savannah.gnu.org>
2014-09-09 13:13 ` [Emacs-diffs] trunk r117846: Add macros to allocate temporary Lisp objects with alloca Stefan Monnier
2014-09-09 14:16 ` Dmitry Antipov
2014-09-09 15:10 ` Paul Eggert [this message]
2014-09-10 6:43 ` Paul Eggert
2014-09-10 8:20 ` Dmitry Antipov
2014-09-10 15:28 ` Paul Eggert
2014-09-09 17:55 ` Stefan Monnier
2014-09-09 18:37 ` Paul Eggert
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=540F1853.40509@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.