[Bug c++/68391] -Wsuggest-override does not work on Item 12 of Effective Modern C++

2016-10-13 Thread a.volkov at rusbitech dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68391 Alexander Volkov changed: What|Removed |Added CC||a.volkov at rusbitech dot ru

[Bug c++/65856] -Wsuggest-override shall not report a warning on final method

2016-10-13 Thread a.volkov at rusbitech dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Alexander Volkov changed: What|Removed |Added CC||a.volkov at rusbitech dot ru

[Bug c++/65856] -Wsuggest-override shall not report a warning on final method

2016-10-13 Thread a.volkov at rusbitech dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 --- Comment #12 from Alexander Volkov --- Sorry, it should be struct B : A { virtual void f() final; }; in the first example.

[Bug c++/78010] New: --Wsuggest-override reports a redundant warning on a 'final' method

2016-10-17 Thread a.volkov at rusbitech dot ru
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: a.volkov at rusbitech dot ru Target Milestone: --- Hi, gcc reports a warning on a 'final' method which is not specified as 'virtual': struct A { vir

[Bug c++/65856] -Wsuggest-override shall not report a warning on final method

2016-10-17 Thread a.volkov at rusbitech dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 --- Comment #13 from Alexander Volkov --- There was no response, so I created a new bugreport: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010