From 0b97d585480e973d8b149618901f7a4ddfa1a906 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sun, 8 Aug 2021 16:29:01 -0700 Subject: 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 --- unittests/windowstests.py | 1 - 1 file changed, 1 deletion(-) (limited to 'unittests/windowstests.py') 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() - -- cgit v1.1