https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62165
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- Yes, I agree the error is not very clear. It would be even more helpful if it said why type is not an aggregate (in this case, because there is an equal initializer for a non-static member).