[Webkit-unassigned] [Bug 157574] New: webkit is not usable on OS X 10.10 and older due to CF_AVAILABLE usage
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 11 11:39:50 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157574
Bug ID: 157574
Summary: webkit is not usable on OS X 10.10 and older due to
CF_AVAILABLE usage
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: jeremyhu at apple.com
When building projects that make use of WebKit on older OS versions, CF_AVAILABLE() is unable to expand. Furthermore, these availability macros don't really apply to this install. They only apply when installing the system framework.
In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JavaScript.h:31:
In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h:29:
In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:31:
/opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:139:67: error: expected function body after function declarator
JS_EXPORT bool JSValueIsArray(JSContextRef ctx, JSValueRef value) CF_AVAILABLE(10_11, 9_0);
^
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:54:34: note: expanded from macro 'CF_AVAILABLE'
#define CF_AVAILABLE(_mac, _ios) AVAILABLE_MAC_OS_X_VERSION_##_mac##_AND_LATER
^
<scratch space>:30:1: note: expanded from macro 'AVAILABLE_MAC_OS_X_VERSION_'
AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER
^
In file included from goawebview.c:27:
This was seen on webkit-gtk-2.12.2 on OS X Lion, but the issue applies to Yosemite as well.
--
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/20160511/82d79af1/attachment.html>
More information about the webkit-unassigned
mailing list