[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.22.394.2104261717120.641239@digraph.polyomino.org.uk>
Date: Mon, 26 Apr 2021 17:19:07 +0000
From: Joseph Myers <joseph@...esourcery.com>
To: Alejandro Colomar <alx.manpages@...il.com>
CC: <mtk.manpages@...il.com>, <linux-man@...r.kernel.org>,
<gcc-patches@....gnu.org>, <libc-alpha@...rceware.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [RFC] bpf.2: Use standard types and attributes
On Sat, 24 Apr 2021, Alejandro Colomar via Libc-alpha wrote:
> Some pages also document attributes, using GNU syntax
> '__attribute__((xxx))'. Update those to use the shorter and more
> portable C2x syntax, which hasn't been standardized yet, but is
> already implemented in GCC, and available through either --std=c2x
> or any of the --std=gnu... options.
If you mention alignment in the manpage at all, the same reasoning would
say you should use _Alignas(8) not [[gnu::aligned(8)]], in any context
where _Alignas is valid.
--
Joseph S. Myers
joseph@...esourcery.com
Powered by blists - more mailing lists