[Webkit-unassigned] [Bug 220662] std::is_literal_type causes -Wdeprecated-declarations warning with GCC 11
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 22 15:22:00 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220662
--- Comment #4 from Darin Adler <darin at apple.com> ---
Here are my preferences for solutions to this:
- switch to std::variant
- update to (or maybe it’s "merge in") a newer version of the variant implementation; in r204227, Sam Weinig got it from https://bitbucket.org/anthonyw/variant/src and we could look there for a newer version
- disable this warning just for Variant.h
- patch our Variant.h to sidestep the lack of is_literal_type (might be straightforward to do it at least well enough to not break WebKit?)
- disable this warning globally
We can also do any combination of these, and do one first and then move up to the "better solutions" later. I’d like to climb from the bottom up to the top as far as we can go.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210122/c3267059/attachment-0001.htm>
More information about the webkit-unassigned
mailing list