Skip to content

Conversation

@ZacharyHenkel
Copy link
Member

-Wcast-function-type-mismatch is a new diagnostic issued by clang 19. Add an additional cast to silence the diagnostic. The underlying issue is that GetProcAddress unconditionally returns FARPROC instead of matching the real function signature.

Copy link
Contributor

@mkoscumb mkoscumb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ThomsonTan ThomsonTan merged commit 324eb39 into main Sep 12, 2024
@ThomsonTan ThomsonTan deleted the ZacharyHenkel/clang19compat branch September 12, 2024 18: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.

6 participants