[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange test in stdalign.m4

From: Paul Eggert
Subject: Re: Strange test in stdalign.m4
Date: Fri, 29 Mar 2013 19:42:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4

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 via email to

[Prev in Thread] Current Thread [Next in Thread]