[Bug c++/44160] [C++0x] a mysterious error on __func__ in a lambda expression
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Mon May 9 23:56:00 GMT 2011
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?
More information about the Gcc-bugs
mailing list