Skip to content

Conversation

@arthurbiancarelli
Copy link
Contributor

Fixes #879

@ghost
Copy link

ghost commented Mar 12, 2021

CLA assistant check
All CLA requirements met.

@kennykerr
Copy link
Collaborator

FYI @oldnewthing this is fixing a regression introduced in #662.

arthurbiancarelli and others added 2 commits March 12, 2021 17:01
Co-authored-by: Kenny Kerr <kenny@kennykerr.ca>
Co-authored-by: Kenny Kerr <kenny@kennykerr.ca>
Copy link
Collaborator

@kennykerr kennykerr left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! Don't forget to complete the CLA.

@arthurbiancarelli
Copy link
Contributor Author

Done

happy to contribute !

@kennykerr kennykerr merged commit c70d938 into microsoft:master Mar 12, 2021
@arthurbiancarelli arthurbiancarelli deleted the ab/clang_x86 branch March 12, 2021 16:29
@oldnewthing
Copy link
Member

Ah, I see. clang lambdas are implicitly convertible to __cdecl flat callbacks, but not __stdcall.

@kennykerr
Copy link
Collaborator

Yes, Visual C++ provides overloads for all calling conventions (a very cool feature) but this is apparently not required by the standard and Clang declines to do the same.

This was referenced Mar 15, 2021
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.

Error on x86 builds with Clang

3 participants