Skip to content

Apple Clang 13.4 build errors #269

@richard-lunarg

Description

@richard-lunarg

Since updating to XCode 13.4, I'm getting many new errors when I include vk_mem_alloc.h.

/Users/lunarg/VulkanSDK/1.3.214.0/macOS/include/vma/vk_mem_alloc.h:12752:9: note: conversion candidate of type 'void (*)(int *, int )'
In file included from /Users/lunarg/Dev/macsdk/Vulkan-SDK-Packaging/SDK_creation/common/sdk_tests/vmaTest/vma_test.cpp:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/vector:275:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__bit_reference:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/algorithm:701:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__algorithm/make_heap.h:15:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__algorithm/sift_down.h:51:9: error: no matching function for call to object of type '(lambda at /Users/lunarg/VulkanSDK/1.3.214.0/macOS/include/vma/vk_mem_alloc.h:12751:5)'
if (__comp(
__child_i, *__start))
^~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility with some platformsnext releaseTo be done as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions