http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44160
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-05-09 23:52:04 UTC --- 4.5.3, 4.6 and mainline say: 44160.C: In lambda function: 44160.C:3:27: error: return-statement with a value, in function returning 'void' [-fpermissive] Is it good enough?