[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

[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++/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 --- Comm

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

2016-08-10 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Markus Trippelsdorf changed: What|Removed |Added Status|CLOSED |RESOLVED Resolution|FIXED

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

2016-08-10 Thread thomas.helfer at cea dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Helfer Thomas changed: What|Removed |Added Status|RESOLVED|CLOSED Resolution|INVALID

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

2016-08-10 Thread ol.rakhimov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 ol.rakhimov at gmail dot com changed: What|Removed |Added CC||ol.rakhimov at gmail dot co

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

2015-04-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 --- Comment #8 from Markus Trippelsdorf --- (In reply to Helfer Thomas from comment #7) > can you give me the rationale of this usage ? Performance. See also -Wsuggest-final-types -Wsuggest-final-methods in the gcc manual. Although Stroustrup

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

2015-04-23 Thread thomas.helfer at cea dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 --- Comment #7 from Helfer Thomas --- can you give me the rationale of this usage ?

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

2015-04-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 --- Comment #6 from Markus Trippelsdorf --- If you want some real life examples, grep e.g. the Firefox source tree for "final override" or "override final".

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

2015-04-23 Thread thomas.helfer at cea dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Helfer Thomas changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2015-04-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 --- Comment #4 from Markus Trippelsdorf --- I forgot to add "with -Wall -Wextra". gcc needs explicit -Woverloaded-virtual.

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

2015-04-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 --- Comment #3 from Markus Trippelsdorf --- And BTW both clang and EDG warn for the first example: foo.cpp:6:16: warning: 'B::f' hides overloaded virtual function [-Woverloaded-virtual] virtual void f() final; ^ foo.cpp:2:16: no

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

2015-04-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

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

2015-04-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment