[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2014-01-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 --- Comment #5 from Jonathan Wakely --- That's PR 58876, which I intend to fix

[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2014-01-06 Thread andrewjcg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 Andrew Gallagher changed: What|Removed |Added CC||andrewjcg at gmail dot com --- Comment

[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2013-08-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 --- Comment #3 from Jonathan Wakely --- (In reply to Tudor Bosman from comment #0) > In C++11, we can declare a class as "final" to indicate that it can't be > derived from. In that case, having a public non-virtual destructor is fine, > even if t

[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2013-08-12 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/58140] -Wnon-virtual-dtor shouldn't fire for classes declared final

2013-08-12 Thread tudorb at fb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58140 --- Comment #1 from Tudor Bosman --- (Tested with gcc 4.7.1, compiled with -std=c++11 -Wnon-virtual-dtor