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

Fixing lambda capture unused errors. #16555

Merged
merged 1 commit into from Feb 28, 2018

Conversation

RexMorgan
Copy link

@RexMorgan RexMorgan commented Feb 25, 2018

These errors were happening when compiling with clang 5.0.1.

Since the whole method is defined inside a #if DEBUG, it was
erroring when compiling in release mode because the lambda
variables were not being used.

I ran into this while attempting to package .NET Core for Solus.

These errors were happening when compiling with clang 5.0.1.

Since the whole method is defined inside a #if DEBUG, it was
erroring when compiling in release mode because the lambda
variables were not being used.
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@jkotas jkotas merged commit 3cc77af into dotnet:master Feb 28, 2018
A-And pushed a commit to A-And/coreclr that referenced this pull request Feb 28, 2018
These errors were happening when compiling with clang 5.0.1.

Since the whole method is defined inside a #if DEBUG, it was
erroring when compiling in release mode because the lambda
variables were not being used.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants