Skip to content

Support for x86 builds with Clang - #511

Merged
Kenny Kerr (kennykerr) merged 1 commit into
masterfrom
kennykerr-clang-x86
Feb 3, 2020
Merged

Support for x86 builds with Clang#511
Kenny Kerr (kennykerr) merged 1 commit into
masterfrom
kennykerr-clang-x86

Conversation

@kennykerr

Copy link
Copy Markdown
Collaborator

Fixed #496

The Clang compiler still lacks the Visual C++ support for lambdas with stdcall calling convention. This update removes the use of those lambdas where calling convention matters so that the Clang compiler may be used to build x86 binaries.

@Scottj1s Scott Jones (Scottj1s) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Minor suggestion, working with the nameof operator in C#, would be to locate the runtime functions in a "fallback" namespace and use __FUNCTION__ to avoid the string literals.

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.

x86 clang compilation broken

2 participants