diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-08 16:29:01 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-11 21:54:16 +0300 |
commit | 0b97d585480e973d8b149618901f7a4ddfa1a906 (patch) | |
tree | 6d7641e277f9c7570a377635c1b5312f58aa535e /unittests/windowstests.py | |
parent | 042adba204adeb8599e6ce516e0615f9a7b1f9c0 (diff) | |
download | meson-0b97d585480e973d8b149618901f7a4ddfa1a906.zip meson-0b97d585480e973d8b149618901f7a4ddfa1a906.tar.gz meson-0b97d585480e973d8b149618901f7a4ddfa1a906.tar.bz2 |
compilers/c++: Add MSVC option to make the __cplusplus define accurate
Otherwise it always returns the value for c++98, starting with MSVC 2017
15.7 or later. Earlier versions are not affected by this mis-feature
Diffstat (limited to 'unittests/windowstests.py')
-rw-r--r-- | unittests/windowstests.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/windowstests.py b/unittests/windowstests.py index 9359642..f2517f2 100644 --- a/unittests/windowstests.py +++ b/unittests/windowstests.py @@ -359,4 +359,3 @@ class WindowsTests(BasePlatformTests): raise SkipTest('C++ modules are only supported with VS 2019 Preview or newer.') self.init(os.path.join(self.unit_test_dir, '86 cpp modules')) self.build() - |