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

Jonathan Wakely jwakely@redhat.com
Sun Jun 28 21:18:16 GMT 2020


On 27/06/20 18:20 +0300, Ville Voutilainen via Libstdc++ wrote:
>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.


OK, thanks




More information about the Libstdc++ mailing list