Skip to content

clang-cl support. #65

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

clang-cl support. #65

wants to merge 1 commit into from

Conversation

API92
Copy link

@API92 API92 commented May 19, 2024

Tested with clang-cl.exe on amd64 and x86.

@darealshinji

This comment was marked as outdated.

@darealshinji

This comment was marked as outdated.

@API92
Copy link
Author

API92 commented Jul 12, 2024

@darealshinji I think all changes for cl.exe should be in another PR. This PR doesn't change behavior for cl.exe but only for clang-cl.exe.

@graphitemaster
Copy link
Owner

See the other PR for why I'm unsure about this one.

@darealshinji
Copy link

See the other PR for why I'm unsure about this one.

Without this PR it definitely doesn't work on clang-cl:
https://gist.github.com/darealshinji/f64409849256ecade2cfd38538b46de5

@API92
Copy link
Author

API92 commented May 30, 2025

See the other PR for why I'm unsure about this one.

What do yo mean? PR #66 ? Do you want to use __declspec(align(INCBIN_ALIGNMENT)) in clang-cl.exe like in cl.exe instead of __attribute__((aligned(INCBIN_ALIGNMENT)))? clang-cl.exe supports both syntaxes so I think there is no difference https://godbolt.org/z/1v9jzvovq .

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.

3 participants