Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect detection clang-cl #141

Open
crackedmind opened this issue Jul 16, 2024 · 1 comment
Open

Incorrect detection clang-cl #141

crackedmind opened this issue Jul 16, 2024 · 1 comment

Comments

@crackedmind
Copy link

crackedmind commented Jul 16, 2024

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.

@biojppm
Copy link
Owner

biojppm commented Jul 16, 2024

Thanks for reporting. I'll need to add a repro to the CI before fixing it. Fixing is easy, the CI less so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants