On Tue, 3 Oct 2023, Sandra Loosemore wrote:
> Is __attribute__ also considered more powerful than the standard [[]] syntax,
> enough to recommend it over writing standard-conforming code?
Anything that can be expressed with __attribute__ should also be
expressible with [[]], so use of [[]] is pr
On 10/3/23 08:19, Joseph Myers wrote:
On Mon, 2 Oct 2023, Sandra Loosemore wrote:
Going beyond that, though, I think we should also document that the standard
syntax is now the preferred way to do it, and change the examples (except for
the parts documenting the old syntax) to use the new stand
On Mon, 2 Oct 2023, Sandra Loosemore wrote:
> Going beyond that, though, I think we should also document that the standard
> syntax is now the preferred way to do it, and change the examples (except for
> the parts documenting the old syntax) to use the new standard syntax. It's
> been accepted b
When I was working on something else recently, I realized that the GCC manual
had nothing in its attributes section saying that you could use the various
documented GCC extension attributes with C/C++ standard attribute syntax too,
or how (you have to use the "gnu::" prefix); I ended up finding