diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-01-11 23:41:36 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-13 06:56:37 +0000 |
commit | f212fff6d910cd717e2a7979ed51687d0fb4832a (patch) | |
tree | d920827b951c93ec1f6c88d43cece211d1708133 /SConstruct | |
parent | fd6b2a875f8942a4ba7fea916b4c52a913e14f49 (diff) | |
download | mongo-f212fff6d910cd717e2a7979ed51687d0fb4832a.tar.gz |
SERVER-62564 Trailing return types in complex lambdas in future_test_*
Revert "SERVER-62480 disable new lambda processor in MSVC2022 C++20 mode"
This reverts commit cf0d1ffe36d1d787169569989abefa6cbdb2e163.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct index 38baba8e897..c5113604c86 100644 --- a/SConstruct +++ b/SConstruct @@ -3648,12 +3648,6 @@ def doConfigure(myenv): # myenv.Append( CCFLAGS=["/Zc:inline"]) - if myenv.ToolchainIs('msvc') and get_option('cxx-std') == "20": - # Disable the updated lambda processor, which is on by default in - # /std:C++20 mode. The new lambda processor cannot compile the nested - # lambda expression usage in util/future_test_* files. See - # SERVER-62480. Must appear after `/std:c++20` to override it. - env.Append( CCFLAGS=["/Zc:lambda-"] ) if myenv.ToolchainIs('gcc', 'clang'): |