WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
159760
Build failed with ENABLE_STREAMS_API=OFF & ENABLE_WEB_RTC=OFF
https://bugs.webkit.org/show_bug.cgi?id=159760
Summary
Build failed with ENABLE_STREAMS_API=OFF & ENABLE_WEB_RTC=OFF
Sergio Villar Senin
Reported
2016-07-14 05:43:09 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug