【发布时间】:2017-08-08 09:30:33
【问题描述】:
我有一些使用 Google 的 GTest 框架的某个版本的 C++ 代码。这段代码用 Visual Studio 2015 编译得很好。我刚升级到 VS2017,现在我得到一堆这样的错误:
error C2039: 'tr1': is not a member of 'std'
error C3083: 'tr1': the symbol to the left of a '::' must be a type
在 VS2017 中使用 std::tr1 是否需要一些编译器选项?
【问题讨论】:
标签: c++ visual-c++ visual-studio-2017 c++17 tr1