我有一些使用Google GTest框架某些版本的C++代碼。使用此代碼編譯罰款與Visual Studio 2015年我剛剛升級到VS2017,現在我得到這樣一堆錯誤:std :: tr1 with visual studio 2017
error C2039: 'tr1': is not a member of 'std'
error C3083: 'tr1': the symbol to the left of a '::' must be a type
是使用std :: TR1在VS2017需要一些編譯器選項?
謝謝。我選擇了_HAS_TR1_NAMESPACE選項,它工作。 – Dess