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

MSVC, CMake packages with clang toolchain do not build #5222

Closed
Raildex opened this issue Jun 17, 2024 · 4 comments
Closed

MSVC, CMake packages with clang toolchain do not build #5222

Raildex opened this issue Jun 17, 2024 · 4 comments
Labels

Comments

@Raildex
Copy link

Raildex commented Jun 17, 2024

Xmake Version

v2.9.2+dev.417313e29

Operating System Version and Architecture

Windows 11, Visual Studio 2022

Describe Bug

switch to clang-cl on msvc with xmake f --toolchain=clang results in compilation errors of CMake packages.

Expected Behavior

.

Project Configuration

.

Additional Information and Error Logs

xmake.log
xmaketest.zip

@Raildex Raildex added the bug label Jun 17, 2024
@waruqi
Copy link
Member

waruqi commented Jun 17, 2024

please provide your project example

@Raildex
Copy link
Author

Raildex commented Jun 17, 2024

please provide your project example

xmaketest.zip

running xmake f --toolchain=clang will yield in errors on windows. clang-cl is installed.

@waruqi
Copy link
Member

waruqi commented Jun 17, 2024

wait this patch xmake-io/xmake-repo#4386

@waruqi
Copy link
Member

waruqi commented Jun 18, 2024

try it again.

xrepo update-repo

@waruqi waruqi closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants