[Webkit-unassigned] [Bug 139491] [GTK] Add initial database process support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 15 06:13:08 PST 2014


--- Comment #11 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Created attachment 243291
  --> https://bugs.webkit.org/attachment.cgi?id=243291&action=review
Test case for the compiler issue

Ok, I've isolated the problem into a simpler test case. I'm not so sure this is a gcc issue, since the test case also fails here with clang, I don't understand why WebKit worked when built with clang, though. The problem seems to be that we are using the parent class, casting to the derived class, and using a lambda function (if the print method in the test case, calls a member function it works too). I'm not a C++11 expert, but the fact that when using the derived class directly, the build fails when calling print without using std::move for the arguments, makes me thing whether we should actually passing WTF::move for all the arguments passed to AsyncRequest::completeRequest(). I wonder if by using the parent class method and casting we are confusing the compiler that should fail like when using the derived class directly, but it doesn't.

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/20141215/9795f484/attachment-0002.html>

More information about the webkit-unassigned mailing list