https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
--- Comment #13 from Barry Revzin ---
Thanks Marek!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
--- Comment #11 from Marek Polacek ---
Author: mpolacek
Date: Fri May 10 14:57:22 2019
New Revision: 271066
URL: https://gcc.gnu.org/viewcvs?rev=271066=gcc=rev
Log:
PR c++/78010 - bogus -Wsuggest-override warning on final function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
--- Comment #10 from Marek Polacek ---
Author: mpolacek
Date: Fri May 10 14:53:30 2019
New Revision: 271065
URL: https://gcc.gnu.org/viewcvs?rev=271065=gcc=rev
Log:
PR c++/78010 - bogus -Wsuggest-override warning on final function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
Barry Revzin changed:
What|Removed |Added
CC||barry.revzin at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
Albert Astals Cid changed:
What|Removed |Added
CC||albert.astals.cid at kdab dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
Jack Lloyd changed:
What|Removed |Added
CC||lloyd at randombit dot net
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
--- Comment #5 from Jonathan Wakely ---
(In reply to Arnaud Desitter from comment #3)
> Interesting reference. Note that "virtual + final" can be useful even if the
> core guidelines discourage its use.
>
> struct A {
> virtual void f()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
--- Comment #4 from ol.rakhimov at gmail dot com ---
(In reply to Arnaud Desitter from comment #3)
> Interesting reference. Note that "virtual + final" can be useful even if the
> core guidelines discourage its use.
>
> struct A {
> virtual
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
--- Comment #3 from Arnaud Desitter ---
Interesting reference. Note that "virtual + final" can be useful even if the
core guidelines discourage its use.
struct A {
virtual void f() final;
};
struct B : A {
// "void f()" cannot be defined
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
--- Comment #2 from Jonathan Wakely ---
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rh-override
says that virtual functions should use exactly one of virtual, override or
final. Which agrees with the suggestion
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78010
Arnaud Desitter changed:
What|Removed |Added
CC||arnaud02 at users dot
sourceforge.
14 matches
Mail list logo