Skip to content
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

Fixes for building with clang-cl and wine headers. #4402

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rbernon
Copy link
Contributor

@rbernon rbernon commented Oct 25, 2024

A couple of compilation failures found while experimenting with clang msvc mode.

@rbernon
Copy link
Contributor Author

rbernon commented Oct 25, 2024

Eh I was indeed curious why these casts were not missing in the first place, looks like it'll need to be fixed differently...

@WinterSnowfall
Copy link
Contributor

I don't think we include d3d9types.h in the d3d9 namespace in d8vk, so there's that. I hate compilers. The definitions for D3DRECT/D3DMATRIX are identical, no casting should be necessary.

@rbernon
Copy link
Contributor Author

rbernon commented Oct 25, 2024

For some reason they end up in the namespace when I build with clang-cl, and it definitely fails to build. But I'll look into it.

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