diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-07 17:21:56 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-07 17:27:55 -0400 |
commit | 167356aeabe576b0c777b329748d314d4931a777 (patch) | |
tree | d7a86771bd79a352ad47c86ff6a05924f7b96b3b /mesonbuild/compilers/compilers.py | |
parent | 7bdfe7ccb224d65b21feea4c6a92ddf57ca0c18c (diff) | |
download | meson-167356aeabe576b0c777b329748d314d4931a777.zip meson-167356aeabe576b0c777b329748d314d4931a777.tar.gz meson-167356aeabe576b0c777b329748d314d4931a777.tar.bz2 |
compilers: correct the MSVC version comparison for turning on __cplusplus
We compared a Visual Studio (the IDE) version, but we wanted a MSVC (the
compiler) version. This caused the option to be passed for a few too
many versions of MSVC, and emit a "D9002 : ignoring unknown option" on
those systems.
Compare the correct version using the version mapping from
https://walbourn.github.io/vs-2017-15-7-update/
Fixes #10787
Co-authored-by: CorrodedCoder <38778644+CorrodedCoder@users.noreply.github.com>
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions