[PATCH] libstdc++: std::variant doesn't like types with a defaulted virtual destructor [PR95915]

Ville Voutilainen ville.voutilainen@gmail.com
Sat Jun 27 15:20:34 GMT 2020


On Sat, 27 Jun 2020 at 17:53, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
>
> On Fri, 26 Jun 2020 at 21:20, Jonathan Wakely <jwakely@redhat.com> wrote:
> > For these three tests I think this would be slightly better:
> >
> > // { dg-additional-options "-Wno-deprecated" { target c++17 } }
> >
> > That way we only ignore the warning when actually needed.
>
> Sure thing. The test run revealed some additional things to tweak. OK for trunk
> and GCC 10?

With a twist, I mean. I don't plan to backport the deprecation, just
the bug fix for variant.


More information about the Libstdc++ mailing list