<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Build failed with ENABLE_STREAMS_API=OFF &amp; ENABLE_WEB_RTC=OFF"
   href="https://bugs.webkit.org/show_bug.cgi?id=159760">159760</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build failed with ENABLE_STREAMS_API=OFF &amp; ENABLE_WEB_RTC=OFF
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>svillar&#64;igalia.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm getting this error:

DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp: In member function ‘void WebCore::JSBuiltinInternalFunctions::initialize(WebCore::JSDOMGlobalObject&amp;)’:
DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp:125:103: error: no matching function for call to ‘ArrayLengthHelperFunction(JSC::JSGlobalObject::GlobalPropertyInfo [0])’
     globalObject.addStaticGlobals(staticGlobals, WTF_ARRAY_LENGTH(staticGlobals));
                                                                                                       ^
DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp:125:103: note: candidates are:
In file included from ../../Source/WTF/wtf/FastMalloc.h:26:0,
                 from ../../Source/WebCore/config.h:75,
                 from DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp:36:
../../Source/WTF/wtf/StdLibExtras.h:172:42: note: template&lt;class T, long unsigned int Size&gt; char (&amp; WTF::ArrayLengthHelperFunction(T (&amp;)[Size]))[Size]
 template&lt;typename T, size_t Size&gt; char (&amp;ArrayLengthHelperFunction(T (&amp;)[Size]))[Size];
                                          ^
../../Source/WTF/wtf/StdLibExtras.h:172:42: note:   template argument deduction/substitution failed:
../../Source/WTF/wtf/StdLibExtras.h:175:29: note: template&lt;class T&gt; char (&amp; WTF::ArrayLengthHelperFunction(T (&amp;)[0]))[0]
 template&lt;typename T&gt; char (&amp;ArrayLengthHelperFunction(T (&amp;)[0]))[0];
                             ^
../../Source/WTF/wtf/StdLibExtras.h:175:29: note:   template argument deduction/substitution failed:
DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp:125:103: note:   template argument ‘-1’ does not match ‘#‘integer_cst’ not supported by dump_decl#&lt;declaration error&gt;’
     globalObject.addStaticGlobals(staticGlobals, WTF_ARRAY_LENGTH(staticGlobals));

Looks like (in the generated code) that the array is empty when disabling both build flags. By enabling either of them the build goes on smoothly.</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>