[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 ---

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

2016-08-11 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-11 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-11 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

[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 trippels at gcc dot gnu.org --- (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

[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 thomas.helfer at cea dot fr --- 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 thomas.helfer at cea dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Helfer Thomas thomas.helfer at cea dot fr changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 trippels at gcc dot gnu.org --- 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 mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65856 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added CC||mpolacek at

[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 trippels at gcc dot gnu.org --- 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 trippels at gcc dot gnu.org --- 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;

[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 trippels at gcc dot gnu.org changed: What|Removed |Added CC|