[PATCH] D84023: Make MSVC generate appropriate __cplusplus macro definition
Tatyana Krasnukha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 14:25:15 PDT 2020
tatyana-krasnukha added a comment.
The option "/Zc:__cplusplus" solves this problem. With this option passed, Gtest doesn't try using namespace `tr1`. I don't have such warnings if pass this option.
Though, Gtest 1.8.1 will be required anyway when LLVM will switch to C++17.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84023/new/
https://reviews.llvm.org/D84023
More information about the llvm-commits
mailing list