Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Compilation errors with apple clang #4

Description

@pvlsrv

When trying to compile this with apple clang 11 I get compilation errors:
explicit specialization of 'vk::FlagTraitsvma::AllocationCreateFlagBits' after instantiation
explicit specialization of 'vk::FlagTraitsvma::AllocatorCreateFlagBits' after instantiation
explicit specialization of 'vk::FlagTraitsvma::PoolCreateFlagBits' after instantiation
explicit specialization of 'vk::FlagTraitsvma::RecordFlagBits' after instantiation

It's fixed by moving the explicit specializations up to just below the enum definition of the FlagBits.
Patched file attached.

vk_mem_alloc.hpp.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions