On Mon, Apr 15, 2024 at 6:14 AM Alex Coplan <alex.cop...@arm.com> wrote: > > On 04/04/2024 11:00, Alex Coplan wrote: > > Hi, > > > > This adds a note to the GCC 14 release notes mentioning support for > > __has_{feature,extension} (PR60512). > > > > OK to commit? > > Ping. Is this changes.html patch OK? I guess it needs a review from C++ > maintainers since it adds to the C++ section. >
I think it's ok, but then again I can't approve; maybe try the docs maintainers (i.e. Gerald and/or Sandra) if you don't hear back from the C++ ones? > > > > Thanks, > > Alex > > > diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html > > index 9fd224c1..facead8d 100644 > > --- a/htdocs/gcc-14/changes.html > > +++ b/htdocs/gcc-14/changes.html > > @@ -242,6 +242,12 @@ a work-in-progress.</p> > > <code>constinit</code> and optimized dynamic initialization</li> > > </ul> > > </li> > > + <li>The Clang language extensions <code>__has_feature</code> and > > + <code>__has_extension</code> have been implemented in GCC. These > > + are available from C, C++, and Objective-C(++). > > + This is primarily intended to aid the portability of code written > > + against Clang. > > + </li> > > </ul> > > > > <h4 id="libstdcxx">Runtime Library (libstdc++)</h4> >