[Webkit-unassigned] [Bug 169769] std::get for tuple should be declared before struct TupleHash is defined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 12 00:04:06 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=169769

--- Comment #6 from Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa at sony.com> ---
There seems to be two factors in this issue:
 - <tuple> is implicitly included or not
 - compiler does two phase lookup or not

On mac and ubuntu, <tuple> is implicitly included in HashFunctions.h.

On windows, <tuple> is not included there but cl compiler doesn't do two phase lookup so webkit can build. However if we use clang-cl with "-fno-delayed-template-parsing", which enables two phase lookup, the compiler reports compilation errors of std::get(std::tuple), so there's still a problem of header inclusion.

Anyways, if toolchain supports, passing "-fdelayed-template-parsing" (not "-fno-delayed-template-parsing") can be a workaround.

-- 
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/20170512/cedd0bb4/attachment-0001.html>


More information about the webkit-unassigned mailing list