Skip to content

Allow building with Clang using MSVC ABI #418

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

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

cristianadam
Copy link
Contributor

The official LLVM build of Clang is using the MSVC ABI, and if you are using clang.exe and not clang-cl.exe you get the GNU command line interface.

CMake would not set the MSVC variable, but the CMAKE_CXX_SIMULATE_ID as "MSVC". Since clang.exe is targeting the MSVC ABI it needs the build support the MSVC has.

The official LLVM build of Clang is using the MSVC ABI, and
if you are using clang.exe and not clang-cl.exe you get the
GNU command line interface.

CMake would not set the MSVC variable, but the CMAKE_CXX_SIMULATE_ID
as "MSVC". Since clang.exe is targeting the MSVC ABI it needs
the build support the MSVC has.
@tordex tordex merged commit 09fd84d into litehtml:master Jul 30, 2025
1 check passed
@cristianadam cristianadam deleted the clang-msvc-abi branch July 30, 2025 10:23
@cristianadam
Copy link
Contributor Author

Thank you.

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