<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 - webkit is not usable on OS X 10.10 and older due to CF_AVAILABLE usage"
   href="https://bugs.webkit.org/show_bug.cgi?id=157574">157574</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>webkit is not usable on OS X 10.10 and older due to CF_AVAILABLE usage
          </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&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeremyhu&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
                                 ^
&lt;scratch space&gt;: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.</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>