|
Message-ID: <CALS3df2uYSN+G1FDVm5dPtGq2GwTtAQ_WCVyeM5fYk7xR6HmdA@mail.gmail.com> Date: Thu, 8 May 2014 21:11:24 +0200 From: Paweł Dziepak <pdziepak@...rnos.org> To: musl@...ts.openwall.com Subject: Re: [PATCH] add definition of max_align_t to stddef.h 2014-05-08 20:45 GMT+02:00 Jens Gustedt <jens.gustedt@...ia.fr>: > Hello, > > Am Donnerstag, den 08.05.2014, 13:41 -0400 schrieb Rich Felker: >> BTW in your above example, it's not even clear to me if that use of >> alignas is valid. > > Besides the question of such a thing makes sense or noţ with the > current version of the standard it isn't syntactically valid. alignas > can't be applied to struct fields. So for the moment the whole > discussion in the standard about types with extended alignment is > pointless. > > This issue has been raised as a defect report, and it seems that the > committee agrees to change this in a corrigendum. > > http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_444.htm My bad, it is legal in C++11 though. Paweł
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.