Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

fix CoreCLR build errors with clang5.0. #15477

Merged
merged 2 commits into from Dec 12, 2017
Merged

Conversation

sandreenko
Copy link

@sandreenko sandreenko commented Dec 11, 2017

The PR combines fix for the wrong spmi methodContext explicit constructor and @janvorli's fix for an unused lambda parameter.

With this fixes I was able to build CoreCLR with clang 5.0 on Ubuntu 14.04.
Fix #14757 and #15197.

Sergey Andreenko added 2 commits December 11, 2017 14:41
MethodContext was already initialized through `new MethodContext();`
the define `#define PAL_EXCEPT(dispositionExpression)`
can declare expression that has zero or one param. If it has zero param, then `__param` in the lambda is unused, prevent clang complains by adding this change.
@sandreenko
Copy link
Author

PTAL @janvorli @jkotas @BruceForstall

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@sandreenko sandreenko merged commit 9b22e1a into dotnet:master Dec 12, 2017
@sandreenko sandreenko deleted the clang5 branch December 12, 2017 03:05
stevehayles added a commit to stevehayles/meta-dotnetcore that referenced this pull request Dec 24, 2017
New recipe files and revisions primarily to include the fix for issue 15477(dotnet/coreclr#15477)
stevehayles added a commit to stevehayles/meta-dotnetcore that referenced this pull request Dec 24, 2017
New recipe files and revisions primarily to include the fix for issue 15477(dotnet/coreclr#15477)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants