Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release builds using gcc-8 #1067

Merged
merged 1 commit into from
Sep 19, 2020
Merged

Conversation

dominiklohmann
Copy link
Member

@dominiklohmann dominiklohmann commented Sep 18, 2020

Turns out gcc-8 is unable to explicitly capture a variable in a lambda that was implicitly captured in a surrounding lambda if that variable is then only used in an unevaluated context like decltype in the inner lambda.

I verified that this builds as expected by running docker build . -t vast.

Turns out gcc-8 is unable to explicitly capture a variable in a lambda
that was implicitly captured in a surrounding lambda if that variable is
then only used in an unevaluated context like decltype in the inner
lambda.
@dominiklohmann dominiklohmann added the bug Incorrect behavior label Sep 18, 2020
@dominiklohmann dominiklohmann requested a review from a team September 18, 2020 09:41
@mavam mavam mentioned this pull request Sep 18, 2020
2 tasks
@mavam mavam merged commit 3f2de3e into master Sep 19, 2020
@mavam mavam deleted the story/ch19522/release-builds-gcc-8 branch September 19, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants