[Bug c++/55836] Weffc++: warning: base class 'class std::list >' has a non-virtual destructor

2012-12-31 Thread hamren at sdu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55836 --- Comment #2 from Lars Hamrén 2013-01-01 00:38:27 UTC --- > Why not just not use -Weffc++ for STL. I can turn it off locally using a pragma, but that is rather ugly. I like to have as many warning flags turned on as possible. Not having fals

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

2012-12-31 Thread hamren at sdu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55837 --- Comment #2 from Lars Hamrén 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 initialize

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

2012-12-31 Thread hamren at sdu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55837 Bug #: 55837 Summary: -Weffc++: warning: 'xxx:yyy' should be initialized in the member initialization list Classification: Unclassified Product: gcc Version: 4.7.0 S

[Bug c++/55836] New: Weffc++: warning: base class 'class std::list >' has a non-virtual destructor

2012-12-31 Thread hamren at sdu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55836 Bug #: 55836 Summary: Weffc++: warning: base class 'class std::list >' has a non-virtual destructor Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED