<?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>179926</bug_id>
          
          <creation_ts>2017-11-21 11:22:48 -0800</creation_ts>
          <short_desc>tuple related items are used in WTF without including tuple</short_desc>
          <delta_ts>2017-11-22 09:57:33 -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>Web Template Framework</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="Stephan Szabo">stephan.szabo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>dbates</cc>
    
    <cc>don.olmstead</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>mjs</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>yoshiaki.jitsukawa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1374069</commentid>
    <comment_count>0</comment_count>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2017-11-21 11:22:48 -0800</bug_when>
    <thetext>There are some cases where a few WTF headers that use tuple without including &lt;tuple&gt; (HashFunctions.h, PrintStream.h, Signals.h) can cause compilation failures on toolchains where tuple isn&apos;t being already defined (for example via include from another previously included STL header) and don&apos;t delay templates like MSVC.
 
For Signals.h, it appears that the only place in Signals.cpp the additional &lt;tuple&gt; include would work in break the header include order (it would have to be before the include of Signals.h itself). For PrintStream.h, it might be possible to find another location, although the first specific error we see is in SlotVisitor.cpp and adding in the accepted header include position in either that file or SlotVisitor.h did not fix the error. For HashFunctions (or at least HashTraits that uses it), there appeared to be failures in WTF, LLIntOffsetsExtractor, and JavaScriptCore and test* apps for failures to find make_tuple via paths including it from heap/Weak.h and text/CString.h across at least 5 of the JSC unified sources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374070</commentid>
    <comment_count>1</comment_count>
      <attachid>327423</attachid>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2017-11-21 11:30:07 -0800</bug_when>
    <thetext>Created attachment 327423
Add tuple includes to WTF headers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374072</commentid>
    <comment_count>2</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2017-11-21 11:49:29 -0800</bug_when>
    <thetext>This was brought up at the contributors meeting so hopefully we can land this. STL makes no guarantees that any one header includes another header within the STL so that&apos;s one reason we believe that other platforms are not having these problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374078</commentid>
    <comment_count>3</comment_count>
    <who name="Stephan Szabo">stephan.szabo</who>
    <bug_when>2017-11-21 12:45:18 -0800</bug_when>
    <thetext>Adding Alex as he had commented on https://bugs.webkit.org/show_bug.cgi?id=169769</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374112</commentid>
    <comment_count>4</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2017-11-21 16:16:16 -0800</bug_when>
    <thetext>*** Bug 169769 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374214</commentid>
    <comment_count>5</comment_count>
      <attachid>327423</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-11-22 09:56:15 -0800</bug_when>
    <thetext>Comment on attachment 327423
Add tuple includes to WTF headers.

Clearing flags on attachment: 327423

Committed r225096: &lt;https://trac.webkit.org/changeset/225096&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374215</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-11-22 09:56:16 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1374217</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-11-22 09:57:33 -0800</bug_when>
    <thetext>&lt;rdar://problem/35668618&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>327423</attachid>
            <date>2017-11-21 11:30:07 -0800</date>
            <delta_ts>2017-11-22 09:56:15 -0800</delta_ts>
            <desc>Add tuple includes to WTF headers.</desc>
            <filename>179926-1.diff</filename>
            <type>text/plain</type>
            <size>1658</size>
            <attacher name="Stephan Szabo">stephan.szabo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nIGIvU291cmNlL1dURi9DaGFuZ2VMb2cK
aW5kZXggZjE2MTM1NDUxYmEuLmIxMGY3ZDAwMDBjIDEwMDY0NAotLS0gYS9Tb3VyY2UvV1RGL0No
YW5nZUxvZworKysgYi9Tb3VyY2UvV1RGL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0IEBACisyMDE3
LTExLTIxICBTdGVwaGFuIFN6YWJvICA8c3RlcGhhbi5zemFib0Bzb255LmNvbT4KKworICAgICAg
ICB0dXBsZSByZWxhdGVkIGl0ZW1zIGFyZSB1c2VkIGluIFdURiB3aXRob3V0IGluY2x1ZGluZyB0
dXBsZQorICAgICAgIC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