From a90d2925ddfa4e1a19197ca39df8e73d7af6e689 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 15 Aug 2021 11:33:57 +0300 Subject: Revert "compilers/c++: Add MSVC option to make the __cplusplus define accurate" This reverts commit 0b97d585480e973d8b149618901f7a4ddfa1a906. --- docs/markdown/snippets/msvc_cplusplus_define.md | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 docs/markdown/snippets/msvc_cplusplus_define.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/msvc_cplusplus_define.md b/docs/markdown/snippets/msvc_cplusplus_define.md deleted file mode 100644 index eabfbe8..0000000 --- a/docs/markdown/snippets/msvc_cplusplus_define.md +++ /dev/null @@ -1,7 +0,0 @@ -## MSVC now sets the __cplusplus #define accurately - -For reasons, MSVC will always return `199711L` for `__cplusplus`, even when a -newer c++ standard is explicitly requested, unless you pass a specific option to -the compiler for MSVC 2017 15.7 and newer. Older versions are unaffected by -this. Meson now always sets the option if it is available, as it is unlikley -that users want the default behavior. -- cgit v1.1