[Bug c++/55805] Empty brace-init-list causes warning "missing initializer for member" in C++11

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 16 10:03:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55805

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Gubbins from comment #2)
> Therefore no field initializers are involved. The warning in this situation
> is surely incorrect? I think the original bug report was correct and the
> problem should be fixed.

In any case, there is no warning for any currently supported release, and we
are not making any more releases from the gcc 4.7 branch, so there's nothing to
fix.



More information about the Gcc-bugs mailing list