On Mon, Apr 15, 2024 at 11:13:27AM +0100, Alex Coplan 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. > > > > > 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(++).
Since the extension is for the whole c-family, not just C++, I think it belongs to a "C family" section. See e.g. <https://gcc.gnu.org/gcc-13/changes.html>. Marek