On Tue, Sep 24, 2024 at 01:34:44PM -0400, Jason Merrill wrote: > Let's also give an error for trying to disable it in C++23+. > Missing function comment, maybe just use the one below? > Please add a comment to this and range-for4 explaining that this is to get > the fix enabled in GNU modes. > > OK with those changes.
Done, committed now, thanks for the review. I've also committed the following tweak for the status page: diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html index d986fc79..76f6ef6d 100644 --- a/htdocs/projects/cxx-status.html +++ b/htdocs/projects/cxx-status.html @@ -576,7 +576,7 @@ <tr> <td> Wording for P2644R1 Fix for Range-based for Loop </td> <td> <a href="https://wg21.link/p2718">P2718R0</a></td> - <td class="unsupported"> <a href="https://gcc.gnu.org/PR107637">No</a></td> + <td class="supported"> <a href="../gcc-15/changes.html#cxx">15</a></td> <td> __cpp_range_based_for >= 202211L </td> </tr> <!-- Jakub