添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

googletest uses std::tr1 which will be deprecated in VS 2017 #1111

@StephanTLavavej

Description

In VS 2017's second toolset update, I'm going to deprecate the std::tr1 namespace (with the [[deprecated]] attribute, emitting compiler warnings) in both the C++14 and C++17 modes. This will cause googletest's use of std::tr1 to emit warnings (breaking builds under /WX ).

While I will provide an escape-hatch macro to silence the deprecation warnings, googletest should migrate away from using std::tr1 , as it will be removed in the future (eventually completely, with no escape hatches).

This is almost identical to #872 and #1036 but not quite. Those issues are observing how I removed std::tr1 by default in C++17 mode. This issue is about how std::tr1 will be deprecated even in the default C++14 mode, affecting all users.