diff options
author | snermolaev <snermolaev@yandex-team.com> | 2024-03-13 05:34:46 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2024-03-13 05:47:42 +0300 |
commit | 5ebcf65dd7c51378d5dbc875b738b73c876655cc (patch) | |
tree | 6deeb5e5b62a149f083b6e59459c3f8234f7e49f /build | |
parent | 9d2c2f680676f5257b6dda9b04926653855ab112 (diff) | |
download | ydb-5ebcf65dd7c51378d5dbc875b738b73c876655cc.tar.gz |
use c++20 for system_cxx compiler for Windows
b5e7063b51b153a87500929c939726fc517e2c4a
Diffstat (limited to 'build')
-rwxr-xr-x | build/ymake_conf.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py index 276cef62fa..4cf31c1fa7 100755 --- a/build/ymake_conf.py +++ b/build/ymake_conf.py @@ -1815,10 +1815,6 @@ class MSVCToolchainOptions(ToolchainOptions): sdk_dir = os.environ.get('WindowsSdkDir') self.sdk_version = os.environ.get('WindowsSDKVersion').replace('\\', '') vc_install_dir = os.environ.get('VCToolsInstallDir') - # fix for cxx_std detection problem introduced in r7740071 when running in native VS toolkit commandline: - # in that case ya make gets 'system_cxx' configuration name and cxx_std is obviously missing in that config - # so default 'c++20' is substituted and we need to hotfix it here - self.cxx_std = 'c++latest' if any([x is None for x in (sdk_dir, self.sdk_version, vc_install_dir)]): raise ConfigureError('No %WindowsSdkDir%, %WindowsSDKVersion% or %VCINSTALLDIR% present. Please, run vcvars64.bat to setup preferred environment.') |