[Bug c++/50224] [c++0x]g++ complains unused parameter but it is referenced in lambda

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 29 13:42:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50224

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|RESOLVED                    |NEW
   Last reconfirmed|                            |2011-08-29
                 CC|                            |jason at gcc dot gnu.org
         Resolution|DUPLICATE                   |
     Ever Confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-29 13:33:03 UTC ---
Doh! sorry, I was testing the wrong file out of the two examples, for some
reason I named the first one 2.cc and the second one 1.cc ... with embarrassing
consequences ;)

Confirmed, as you're right this isn't fixed (but the ArchLinux version string
is still misleading!)

Jason, PR 49251 still occurs for parameters of non-builtin types



More information about the Gcc-bugs mailing list