[Bug c++/55837] [C++11] -Weffc++: warning: 'xxx:yyy' should be initialized in the member initialization list

hamren at sdu dot se gcc-bugzilla@gcc.gnu.org
Tue Jan 1 00:22:00 GMT 2013


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

--- Comment #2 from Lars Hamrén <hamren at sdu dot se> 2013-01-01 00:21:56 UTC ---
I do realize that this is a clash between an old-ish rule and the new C++11
syntax.

However, the spirit of the underlying rule (which I assume is that "all members
should be initialized") still applies, and the rule, and its implementation,
could be updated for C++11.



More information about the Gcc-bugs mailing list