<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>207187</bug_id>
          
          <creation_ts>2020-02-03 23:46:13 -0800</creation_ts>
          <short_desc>[WinCairo][curl][Clang] error: member access into incomplete type &apos;WebCore::SynchronousLoaderMessageQueue&apos; in ~CurlRequest</short_desc>
          <delta_ts>2020-02-04 00:06:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1614438</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2020-02-03 23:46:13 -0800</bug_when>
    <thetext>[WinCairo][curl][Clang] error: member access into incomplete type &apos;WebCore::SynchronousLoaderMessageQueue&apos; in ~CurlRequest

clnag-cl reports the following error since r254659.

&gt; FAILED: Source/WebKitLegacy/CMakeFiles/WebKitLegacy.dir/win/WebDownloadCurl.cpp.obj 
&gt; C:\PROGRA~1\LLVM\bin\clang-cl.exe  /nologo -TP -DANGLE_ENABLE_D3D11 -DANGLE_ENABLE_D3D9 -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_HLSL -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebKitLegacy -DEGL_EGLEXT_PROTOTYPES -DEGL_EGL_PROTOTYPES=1 -DFRAMEWORK_NAME=WebKitLegacy -DGL_API=&quot;&quot; -DGL_APICALL=&quot;&quot; -DGL_GLES_PROTOTYPES=1 -DGL_GLEXT_PROTOTYPES -DHAVE_CONFIG_H=1 -DNOCRYPT -DNOMINMAX -DUNICODE -DUSE_CAIRO=1 -DUSE_CURL=1 -DWEBKIT_EXPORTS -DWEBKIT_EXPORTS=1 -DWINVER=0x601 -DWTF_PLATFORM_WIN_CAIRO=1 -DWebKitLegacy_EXPORTS -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WIN32_WINNT=0x601 -D_WINDOWS -D_WINSOCKAPI_=&quot;&quot; -I. -I..\..\Source\WebKitLegacy\Storage -I..\..\Source\WebKitLegacy\WebCoreSupport -IWebCore\PrivateHeaders -IWebKitLegacy\DerivedSources -I..\..\WebKitLibraries\win\include\cairo -I..\include\private -I..\include\private\JavaScriptCore -I..\include\private\WebCore -I..\..\Source\WebKitLegacy\win -I..\..\Source\WebKitLegacy\win\plugins -I..\..\Source\WebKitLegacy\win\WebCoreSupport -IWebKitLegacy\DerivedSources\include -IWebKitLegacy\DerivedSources\Interfaces -IJavaScriptCore\Headers -IJavaScriptCore\PrivateHeaders -IWTF\Headers -IDerivedSources -I..\..\Source\ThirdParty -IPAL\Headers -IDerivedSources\ForwardingHeaders -IANGLE\Headers -I..\..\WebKitLibraries\win\include /W4 -fdiagnostics-color=always -fcolor-diagnostics -Wno-parentheses-equality -Wno-noexcept-type -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-unknown-argument -Wno-nonportable-include-path -Wno-unknown-pragmas -Wno-macro-redefined -Wno-undef /DWIN32 /D_WINDOWS  /GR- /EHsc- -fno-strict-aliasing /MD /Zi /Ob0 /Od /RTC1   /wd4018 /wd4068 /wd4099 /wd4100 /wd4127 /wd4138 /wd4146 /wd4180 /wd4189 /wd4201 /wd4206 /wd4244 /wd4251 /wd4267 /wd4275 /wd4288 /wd4291 /wd4305 /wd4309 /wd4344 /wd4355 /wd4389 /wd4396 /wd4456 /wd4457 /wd4458 /wd4459 /wd4481 /wd4503 /wd4505 /wd4510 /wd4512 /wd4530 /wd4610 /wd4611 /wd4646 /wd4702 /wd4706 /wd4722 /wd4800 /wd4819 /wd4951 /wd4952 /wd4996 /wd6011 /wd6031 /wd6211 /wd6246 /wd6255 /wd6387 /Zi /GS /EHa- /EHc- /EHs- /fp:except- /analyze- /bigobj /utf-8 /validate-charset -fmsc-version=1911 -std:c++17 /Yu&quot;WebKitPrefix.h&quot; /FI&quot;WebKitPrefix.h&quot; /Fp&quot;C:/webkit/gb/WebKitBuild/Debug/Source/WebKitLegacy/WebKitLegacy_SOURCES/WebKitPrefix.pch&quot; /showIncludes /FoSource\WebKitLegacy\CMakeFiles\WebKitLegacy.dir\win\WebDownloadCurl.cpp.obj /FdSource\WebKitLegacy\CMakeFiles\WebKitLegacy.dir\ -c ..\..\Source\WebKitLegacy\win\WebDownloadCurl.cpp
&gt; In file included from ..\..\Source\WebKitLegacy\win\WebDownloadCurl.cpp:26:
&gt; In file included from ..\..\Source\WebKitLegacy\win/WebKitDLL.h:35:
&gt; In file included from WTF\Headers\wtf/HashCountedSet.h:26:
&gt; In file included from WTF\Headers\wtf/HashMap.h:25:
&gt; In file included from WTF\Headers\wtf/HashTable.h:33:
&gt; In file included from WTF\Headers\wtf/HashTraits.h:26:
&gt; In file included from WTF\Headers\wtf/HashFunctions.h:26:
&gt; WTF\Headers\wtf/RefPtr.h(44,12): error: member access into incomplete type &apos;WebCore::SynchronousLoaderMessageQueue&apos;
&gt;         ptr-&gt;deref();
&gt;            ^
&gt; WTF\Headers\wtf/RefPtr.h(70,31): note: in instantiation of function template specialization &apos;WTF::derefIfNotNull&lt;WebCore::SynchronousLoaderMessageQueue&gt;&apos; requested here
&gt;     ALWAYS_INLINE ~RefPtr() { derefIfNotNull(PtrTraits::exchange(m_ptr, nullptr)); }
&gt;                               ^
&gt; C:\webkit\gb\WebKitBuild\Debug\WebCore\PrivateHeaders\WebCore/CurlRequest.h(72,13): note: in instantiation of member function &apos;WTF::RefPtr&lt;WebCore::SynchronousLoaderMessageQueue, WTF::DumbPtrTraits&lt;WebCore::SynchronousLoaderMessageQueue&gt; &gt;::~RefPtr&apos; requested here
&gt;     virtual ~CurlRequest() = default;
&gt;             ^
&gt; C:\webkit\gb\WebKitBuild\Debug\WebCore\PrivateHeaders\WebCore/CurlRequest.h(112,31): note: in instantiation of member function &apos;WTF::ThreadSafeRefCounted&lt;WebCore::CurlRequest, WTF::DestructionThread::Any&gt;::deref&apos; requested here
&gt;     void release() override { deref(); }
&gt;                               ^
&gt; C:\webkit\gb\WebKitBuild\Debug\WebCore\PrivateHeaders\WebCore/CurlRequest.h(46,7): note: forward declaration of &apos;WebCore::SynchronousLoaderMessageQueue&apos;
&gt; class SynchronousLoaderMessageQueue;
&gt;       ^
&gt; 1 error generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614439</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2020-02-04 00:05:50 -0800</bug_when>
    <thetext>Committed r255665: &lt;https://trac.webkit.org/changeset/255665&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614440</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-02-04 00:06:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/59141713&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>