https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328
Andrea Bocci <fwyzard at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fwyzard at gmail dot com --- Comment #1 from Andrea Bocci <fwyzard at gmail dot com> --- If I may, I think at least this case // Warning considered erroneous // There is no default capture to get at the outer object void haveWarningBad (int x) { [] { int x; }; } should be fixed not to produce any warnings.