[Bug c++/79328] Wshadow and lambda captures
fwyzard at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 2 08:18:00 GMT 2019
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.
More information about the Gcc-bugs
mailing list