[Webkit-unassigned] [Bug 235445] Build failure with g++ 12: std::exchange undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 21 09:33:03 PST 2022


--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Mike Gorse from comment #0)
> I'm not sure why this fails on 12 but not 11, but including <utility> fixes
> the build for me.

Some other libstdc++ header must have included it from somewhere. It's normal for libstdc++ to remove headers when not required by the standard. When that happens, if we are missing the header where it's needed, then we get a build failure. This is just part of normal uplift of a new compiler version.

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/20220121/767541c5/attachment.htm>

More information about the webkit-unassigned mailing list