[Webkit-unassigned] [Bug 163340] New: trunk r207192 fails to compile due to missing std::function being unavailable (missing #include <functional>)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 10:05:45 PDT 2016


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

            Bug ID: 163340
           Summary: trunk r207192 fails to compile due to missing
                    std::function being unavailable (missing #include
                    <functional>)
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jeremyhu at apple.com

In file included from Source/WebCore/platform/network/soup/SoupNetworkSession.cpp:30:
/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_www_webkit2-gtk-devel/webkit2-gtk-devel/work/webkit-91ef51ea3f538ade6f168a1d701dab90bfbee4db/Source/WebCore/platform/network/soup/SoupNetworkSession.h:67:60: error: no template named 'function' in namespace 'std'; did you mean 'Function'?
    static void checkTLSErrors(SoupRequest*, SoupMessage*, std::function<void (const ResourceError&)>&&);
                                                           ^~~~~~~~~~~~~
                                                           Function
Source/WTF/wtf/Forward.h:70:12: note: 'Function' declared here
using WTF::Function;
           ^
Source/WebCore/platform/network/soup/SoupNetworkSession.cpp:330:26: error: out-of-line definition of 'checkTLSErrors' does not match any declaration in 'WebCore::SoupNetworkSession'
void SoupNetworkSession::checkTLSErrors(SoupRequest* soupRequest, SoupMessage* message, std::function<void (const ResourceError&)>&& completionHandler)
                         ^~~~~~~~~~~~~~
2 errors generated.


---

It looks like a missing #include <functional> in r206807, https://bugs.webkit.org/show_bug.cgi?id=162910

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161012/97c3ec13/attachment.html>


More information about the webkit-unassigned mailing list