Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140623075135.GR23102@port70.net>
Date: Mon, 23 Jun 2014 09:51:35 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: max_align_t mess

* Rich Felker <dalias@...c.org> [2014-06-23 00:48:07 -0400]:
> 
> TYPEDEF struct { _Alignas(N) struct { char __align_c[M]; }; } max_align_t;
> 
> where N and M are the correct alignment and size for the arch ABI.
> 

I like this but unfortunately it only works if the compiler has _Alignas

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.