<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - NetworkSession: switch to use subclasses for NetworkSession and NetworkDataTask implementations"
href="https://bugs.webkit.org/show_bug.cgi?id=163777#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - NetworkSession: switch to use subclasses for NetworkSession and NetworkDataTask implementations"
href="https://bugs.webkit.org/show_bug.cgi?id=163777">bug 163777</a>
from <span class="vcard"><a class="email" href="mailto:krollin@apple.com" title="Keith Rollin <krollin@apple.com>"> <span class="fn">Keith Rollin</span></a>
</span></b>
<pre>I'm looking into the iOS build issues. I get the linker errors in the release build. In the debug build, I get the error below. I've not looked into the source or fix for either of these yet, but I can do that next. I've not tried the macOS builds.
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/Source/WebKit2/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:27:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/Source/WebKit2/NetworkProcess/cocoa/NetworkDataTaskCocoa.h:30:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/Source/WebKit2/NetworkProcess/NetworkDataTask.h:30:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/Source/WebKit2/NetworkProcess/Downloads/DownloadID.h:30:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/Source/WebKit2/Platform/IPC/Decoder.h:30:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/Source/WebKit2/Platform/IPC/StringReference.h:31:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/HashTraits.h:26:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/HashFunctions.h:26:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/RefPtr.h:30:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/PassRefPtr.h:24:
In file included from /Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/Ref.h:33:
/Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/TypeCasts.h:42:9: error: static_assert failed "Missing TypeCastTraits specialization"
/Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/TypeCasts.h:59:63: note: in instantiation of member function 'WTF::TypeCastTraits<const WebKit::NetworkSessionCocoa, const WebKit::NetworkSession, false>::isOfType' requested here
/Volumes/Data/dev/WebKit/branches/network_session/OpenSource/WebKitBuild/Debug-iphoneos/usr/local/include/wtf/TypeCasts.h:81:38: note: in instantiation of function template specialization 'WTF::is<WebKit::NetworkSessionCocoa, WebKit::NetworkSession>' requested here
/Volumes/Data/dev/WebKit/branches/network_session/OpenSource/Source/WebKit2/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:93:19: note: in instantiation of function template specialization 'WTF::downcast<WebKit::NetworkSessionCocoa, WebKit::NetworkSession>' requested here</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>