[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2021-09-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #13 from Jonathan Wakely --- It's so crazy, it just might work.

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2021-08-31 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2021-08-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2021-04-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|redi at gcc

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2021-04-17 Thread db0451 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 DB changed: What|Removed |Added CC||db0451 at gmail dot com --- Comment #10 from DB

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-26 Thread mw_triad at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #9 from Matthew Woehlke mw_triad at users dot sourceforge.net --- (In reply to Jonathan Wakely from comment #8) No, really, that's not how make_unique works. You do not use 'new' with make_unique, that's the whole point [...] D'oh,

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Matthew Woehlke from comment #5) Actually, this may be required for 'make_uniqueA(new B)' to warn, since That's not how make_unique works.

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-24 Thread mw_triad at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #7 from Matthew Woehlke mw_triad at users dot sourceforge.net --- (In reply to Jonathan Wakely from comment #6) (In reply to Matthew Woehlke from comment #5) Actually, this may be required for 'make_uniqueA(new B)' to warn, since

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org --- No, really, that's not how make_unique works. You do not use 'new' with make_unique, that's the whole point, so you would say make_uniqueB() to create a B. Your motivating examples

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-12-23 Thread mw_triad at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Matthew Woehlke mw_triad at users dot sourceforge.net changed: What|Removed |Added CC|

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-08-20 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Bug 58876 depends on bug 59304, which changed state. Bug 59304 Summary: #pragma diagnostic pop after warning fails for options unspecified in the command-line and disabled by default https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59304

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Bug 58876 depends on bug 61600, which changed state. Bug 61600 Summary: #pragma GCC diagnostic pop leaves warnings enabled https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61600 What|Removed |Added

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2013-10-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2013-10-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2013-10-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com --- At some point Ian Taylor filed a Bugzilla about these issues, I think it's still open. Not sure what we should do in this area...

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2013-10-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2013-10-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org --- Yes, I should dig Ian's bug out and have another look. I'm planning to throw some ideas around on the mailing list ...