Skip to content

Remove workarounds for offsetof() on clang-cl from the code #150

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
Dec 24, 2022

Conversation

danakj
Copy link
Collaborator

@danakj danakj commented Dec 24, 2022

We need to define _CRT_USE_BUILTIN_OFFSETOF when compiling with clang-cl, both for subspace (and its dependents) and for the CIR tool.

The define works around the clang-cl issue
llvm/llvm-project#59689 without requiring code changes.

We need to define `_CRT_USE_BUILTIN_OFFSETOF ` when compiling
with clang-cl, both for subspace (and its dependents) and for
the CIR tool.

The define works around the clang-cl issue
llvm/llvm-project#59689 without requiring
code changes.
@danakj danakj merged commit 5ebf9f4 into chromium:main Dec 24, 2022
@danakj danakj deleted the clang-cl-never-value branch December 24, 2022 23:52
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