You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using 1.8 on Visual Studio 2015 Update 3 I use the /std:c++latest flag which switches on whatever MS has as it's latest standard C++ conformance. One thing this does is put tuple in the std namespace not std::tr. In the documentation there is stuff about "Choosing a TR1 Tuple Library" but this doesn't seem to provide a way to indicate that tuple is available and in std. It would be nice if the googletest headers detected this but I'm not sure how to do this myself.
At present I added -DGTEST_HAS_TR1_TUPLE=0 and -DGTEST_USE_OWN_TR1_TUPLE=0 to the command line. Not sure if this is correct but it seemed to work.
The text was updated successfully, but these errors were encountered:
When using 1.8 on Visual Studio 2015 Update 3 I use the /std:c++latest flag which switches on whatever MS has as it's latest standard C++ conformance. One thing this does is put tuple in the std namespace not std::tr. In the documentation there is stuff about "Choosing a TR1 Tuple Library" but this doesn't seem to provide a way to indicate that tuple is available and in std. It would be nice if the googletest headers detected this but I'm not sure how to do this myself.
At present I added -DGTEST_HAS_TR1_TUPLE=0 and -DGTEST_USE_OWN_TR1_TUPLE=0 to the command line. Not sure if this is correct but it seemed to work.
The text was updated successfully, but these errors were encountered: