Skip to content

Change compilers priority for gcc and clang#6801

Merged
waruqi merged 2 commits intoxmake-io:devfrom
bugsnotabunny:bugsnotabunny/fix-compilers-priority
Sep 16, 2025
Merged

Change compilers priority for gcc and clang#6801
waruqi merged 2 commits intoxmake-io:devfrom
bugsnotabunny:bugsnotabunny/fix-compilers-priority

Conversation

@bugsnotabunny
Copy link

@bugsnotabunny bugsnotabunny commented Sep 13, 2025

Before this change xmake preferred to use clang and gcc (instead of clang++ and g++ respectively) for c++ code which caused build to fail with clang in my current setup

#6803

@waruqi
Copy link
Member

waruqi commented Sep 13, 2025

If the build fails, please open an issue and provide error logs first.

@waruqi
Copy link
Member

waruqi commented Sep 14, 2025

and llvm, mingw toolchain ...

@waruqi waruqi added this to the v3.0.3 milestone Sep 14, 2025
Before this change xmake preferred to use clang and gcc for c++ code which caused build to fail with clang in my current setup
@bugsnotabunny bugsnotabunny force-pushed the bugsnotabunny/fix-compilers-priority branch from 5b545d7 to e65101c Compare September 14, 2025 19:44
@bugsnotabunny
Copy link
Author

@waruqi review pls.

Fixed clang toolchain as you have asked. But I was unable to find where the error is in mingw toolchain. It's contents seem okay to me. Am missing something?

@waruqi waruqi closed this Sep 15, 2025
@waruqi waruqi reopened this Sep 15, 2025
@waruqi
Copy link
Member

waruqi commented Sep 15, 2025

@waruqi review pls.

Fixed clang toolchain as you have asked. But I was unable to find where the error is in mingw toolchain. It's contents seem okay to me. Am missing something?

mingw has been modified. we need not modify it.

@waruqi waruqi merged commit d0b58de into xmake-io:dev Sep 16, 2025
22 checks passed
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

Successfully merging this pull request may close these issues.

2 participants