https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430 Bug 107430 depends on bug 110681, which changed state.
Bug 110681 Summary: bogus warning -Wreturn-type for lambda in tparam list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110681 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED