https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80947
lars at foldspace dot nu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lars at foldspace dot nu --- Comment #2 from lars at foldspace dot nu --- I am being bitten by this as well. I posted a question on stackoverflow about this and was presented with this bug. My question contains a small example of how to produce this warning, so I thought it might be of interest: https://stackoverflow.com/questions/44390898/gcc-6-x-warning-about-lambda-visibility