From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5098 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Pawe=C5=82_Dziepak?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] add definition of max_align_t to stddef.h Date: Thu, 8 May 2014 21:11:24 +0200 Message-ID: References: <20140507031306.GA26963@brightrain.aerifal.cx> <20140507230729.GD26358@brightrain.aerifal.cx> <20140508174138.GJ26358@brightrain.aerifal.cx> <1399574705.12065.58.camel@eris.loria.fr> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1399576303 15801 80.91.229.3 (8 May 2014 19:11:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2014 19:11:43 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5103-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 08 21:11:38 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WiTjG-0006KQ-EM for gllmg-musl@plane.gmane.org; Thu, 08 May 2014 21:11:38 +0200 Original-Received: (qmail 15616 invoked by uid 550); 8 May 2014 19:11:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15605 invoked from network); 8 May 2014 19:11:37 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=U/AOAMY2qx2tkEtJTGA7A5lwiqNc4coqQ1V5n+Q6/10=; b=cSRsos5dYRfhrFfBahxrkEyu9eOGLIqfhroIIukbG3RqQT9kI9bxYsokoXLHL6Xk0q jd0pSHfJ1AqaTVAPVXJWmDx3yunR8aE0EOxIDzsyG7JPvnOR9C40TZcR1Muby5SOj5Ru Af+zqio7ZmqrHKZa8tEPc8Z7AO5l5Z66fTLIGai5IAiEUE3NqPOZb2axxyOWLWkBxQr8 jHAdH2392OYhgqo5w0lM6M2+7L+GmXaEgfkCrC0gCvvtkk2JayYVwzZDWDI+pFbIRAPh SgLYtzmKXeH6CKfyjjYAmRu+N3xCWNJ0QgdJAY34y8WpWSapPyPVahan/9rck+9VbcW/ tCsg== X-Gm-Message-State: ALoCoQl1aiCCHWOUz/flB8uzGb1/CIwJ202kRcJrNaWg6tR3+heFq5Jq0M6kexjvJRfebEdS0rNN X-Received: by 10.50.143.34 with SMTP id sb2mr58682514igb.48.1399576285141; Thu, 08 May 2014 12:11:25 -0700 (PDT) In-Reply-To: <1399574705.12065.58.camel@eris.loria.fr> Xref: news.gmane.org gmane.linux.lib.musl.general:5098 Archived-At: 2014-05-08 20:45 GMT+02:00 Jens Gustedt : > 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=C5=A3 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=C5=82