Skip to content

error: unknown type name 'AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER' #4

@ryandesign

Description

@ryandesign

clew fails to build on Mac OS X 10.6. The error is:

include/clew.h:2352:22: error: unknown type name 'AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER'
typedef CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_1_DEPRECATED cl_mem (CL_API_CALL *
                     ^
include/clew.h:85:76: note: expanded from macro 'CL_EXT_PREFIX__VERSION_1_1_DEPRECATED'
    #define CL_EXT_PREFIX__VERSION_1_1_DEPRECATED   CL_EXTENSION_WEAK_LINK AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER
                                                                           ^

The macro AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER first appeared in the Mac OS X 10.7 SDK and is not available in earlier SDKs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions