<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 & 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 & 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@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>svillar@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&)’:
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<class T, long unsigned int Size> char (& WTF::ArrayLengthHelperFunction(T (&)[Size]))[Size]
template<typename T, size_t Size> char (&ArrayLengthHelperFunction(T (&)[Size]))[Size];
^
../../Source/WTF/wtf/StdLibExtras.h:172:42: note: template argument deduction/substitution failed:
../../Source/WTF/wtf/StdLibExtras.h:175:29: note: template<class T> char (& WTF::ArrayLengthHelperFunction(T (&)[0]))[0]
template<typename T> char (&ArrayLengthHelperFunction(T (&)[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#<declaration error>’
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>