Re: [C++ Patch] PR 62232

2014-09-19 Thread Paolo Carlini
Hi, On 09/19/2014 08:03 AM, Gerald Pfeifer wrote: Hi Paolo, On Wed, 17 Sep 2014, Paolo Carlini wrote: clang recently, in 3.5.0 if I remember correctly, stopped -Wnon-virtual-dtor warning for final classes. I think it makes sense to do the same. mind adding a note to wwwdocs/htdocs/gcc-5/chang

Re: [C++ Patch] PR 62232

2014-09-18 Thread Gerald Pfeifer
Hi Paolo, On Wed, 17 Sep 2014, Paolo Carlini wrote: > clang recently, in 3.5.0 if I remember correctly, stopped -Wnon-virtual-dtor > warning for final classes. I think it makes sense to do the same. mind adding a note to wwwdocs/htdocs/gcc-5/changes.html ? Thanks, Gerald

Re: [C++ Patch] PR 62232

2014-09-18 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 62232

2014-09-17 Thread Paolo Carlini
Hi, clang recently, in 3.5.0 if I remember correctly, stopped -Wnon-virtual-dtor warning for final classes. I think it makes sense to do the same. Tested x86_64-linux. Thanks, Paolo. 7 /cp 2014-09-17 Paolo Carlini PR c++/62232 * class.c (finish_struct