[Webkit-unassigned] [Bug 229241] New: WebKit JSC fails to build because of undefined JSC_API_AVAILABLE macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 18 11:25:26 PDT 2021


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

            Bug ID: 229241
           Summary: WebKit JSC fails to build because of undefined
                    JSC_API_AVAILABLE macro
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Mac (Apple Silicon)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 4quetz at gmail.com

If __APPLE__ is defined, WebKitAvailability.h includes AvailabilityMacros.h and CoreFoundation/CoreFoundation.h but fails to define JSC_API_AVAILABLE and it breaks build with errors like: JSValueRef.h:205:112: error: expected function body after function declarator

Problem is solved by adding #define JSC_API_AVAILABLE(...) under #ifdef __APPLE__ in WebkitAvailability.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210818/9ea6eb74/attachment.htm>


More information about the webkit-unassigned mailing list