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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |diagnostic
   Last reconfirmed|                            |2012-07-31
                 CC|                            |jason at gcc dot gnu.org
     Ever Confirmed|0                           |1
            Summary|[C++11] Lambda expression's |G++ warning mixes up
                   |type should not be in an    |anonymous types and
                   |anonymous namespace         |anonymous namespaces

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-31 
19:15:21 UTC ---
The lambda isn't really in the anonymous namespace, the warning message is
misleading.  This also happens for non-lambda anonymous types, such as

typedef struct { } *A;

struct B
{
  A a;
};

Reply via email to