https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109640
--- Comment #2 from Ed Catmur <ed at catmur dot uk> --- Ah, so this is Bug 108165? That's a shame, we use (temporary) lambdas extensively so I think we'd have to disable the warning entirely.
ed at catmur dot uk via Gcc-bugs Wed, 26 Apr 2023 16:59:55 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109640
--- Comment #2 from Ed Catmur <ed at catmur dot uk> --- Ah, so this is Bug 108165? That's a shame, we use (temporary) lambdas extensively so I think we'd have to disable the warning entirely.