[Webkit-unassigned] [Bug 159760] New: Build failed with ENABLE_STREAMS_API=OFF & ENABLE_WEB_RTC=OFF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 14 05:43:09 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=159760

            Bug ID: 159760
           Summary: Build failed with ENABLE_STREAMS_API=OFF &
                    ENABLE_WEB_RTC=OFF
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: svillar at igalia.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160714/11f64165/attachment-0001.html>


More information about the webkit-unassigned mailing list