[Bug c++/62165] Misleading error messages when using "impossible" brace initializer list

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 17 14:45:00 GMT 2014


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).


More information about the Gcc-bugs mailing list