all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Strange test in stdalign.m4
Date: Fri, 29 Mar 2013 19:42:13 -0700	[thread overview]
Message-ID: <51565105.9010005@cs.ucla.edu> (raw)
In-Reply-To: <83txnu3yoo.fsf@gnu.org>

On 03/29/2013 10:25 AM, Eli Zaretskii wrote:
>> The test works for me, with GCC 4.7.2 and 4.8.0.  But you're right, it
>> > does rely on an extension to ISO C11.  Which GCC versions
>> > were you using?
> The newest one was 4.4.3 (on fencepost).

But fencepost GCC 4.4.3 lacks stdalign.h, which means the test program
that you gave should fail to compile, and the stdalign.h test's failure
to compile under GCC 4.4.3 is a feature not a bug.  I.e., although
you've found a portability problem in that test, I don't see how
the problem is relevant to GCC 4.4.3.

You mentioned earlier that you saw the following diagnostics:

  ta.c:36: error: expected specifier-qualifier-list before ‘alignas_int’
  ta.c:36: error: ‘struct <anonymous>’ has no member named ‘__b’

Which compiler version emitted these diagnostics?



  reply	other threads:[~2013-03-30  2:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-29 14:57 Strange test in stdalign.m4 Eli Zaretskii
2013-03-29 16:53 ` Paul Eggert
2013-03-29 17:25   ` Eli Zaretskii
2013-03-30  2:42     ` Paul Eggert [this message]
2013-03-30  5:58       ` Eli Zaretskii
2013-03-30 17:32         ` Paul Eggert
2013-03-30 17:40           ` Eli Zaretskii

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=51565105.9010005@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=eliz@gnu.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 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.