Skip to content

Fails to build with clang 21 when used via C++ module #513

@dsvensson

Description

@dsvensson

All calls to VmaFree (at least) in the vk_mem_alloc.h header fails with:

error: no matching function call to 'VmaFree'

There is an issue open in the LLVM project, not sure who is to blame or if there's some workaround, or if it will just be broken until new clang version has been released, llvm/llvm-project#157327

This surfaces when used as a C++ module, for example via https://github.com/YaaZ/VulkanMemoryAllocator-Hpp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions