Skip to content

Incorrect detection clang-cl #141

@crackedmind

Description

@crackedmind

https://github.com/biojppm/c4core/blob/master/src/c4/compiler.hpp#L27
It breaks compilation using clang-cl.exe because it defines both _MSC_VER and __clang__ and cannot find alloca.h in rapidyaml. Also it breaks clangd when using msvc toolchain, eg. in qt creator.

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