Skip to content

Windows: Disable clang headers when C-preprocessing with clang-cl#4934

Merged
kinke merged 1 commit intoldc-developers:masterfrom
kinke:clang_cl_nobuiltininc
May 18, 2025
Merged

Windows: Disable clang headers when C-preprocessing with clang-cl#4934
kinke merged 1 commit intoldc-developers:masterfrom
kinke:clang_cl_nobuiltininc

Conversation

@kinke
Copy link
Copy Markdown
Member

@kinke kinke commented May 18, 2025

As they apparently use unsupported types like __int128, __bf16 etc., even if preprocessing with /std:c11. Use the Microsoft headers instead.

@kinke kinke force-pushed the clang_cl_nobuiltininc branch from 1f4ed40 to 2cf85b4 Compare May 18, 2025 13:43
@kinke
Copy link
Copy Markdown
Member Author

kinke commented May 18, 2025

[Oh okay, depends on #4933 for __declspec(_Noreturn) support.]

As they apparently use unsupported types like __int128, __bf16 etc.,
even if preprocessing with `/std:c11`. Use the Microsoft headers
instead.
@kinke kinke force-pushed the clang_cl_nobuiltininc branch from 2cf85b4 to d168298 Compare May 18, 2025 15:55
@kinke kinke enabled auto-merge (squash) May 18, 2025 15:56
@kinke kinke merged commit e20e206 into ldc-developers:master May 18, 2025
19 of 20 checks passed
@kinke kinke deleted the clang_cl_nobuiltininc branch May 18, 2025 17:10
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.

1 participant