Skip to content
Snippets Groups Projects
Commit ecc689a0 authored by Yonghui56's avatar Yonghui56
Browse files

fix some settings for running testrunner in vs2015/windows

parent be6b3a4a
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ public: ...@@ -50,7 +50,7 @@ public:
ac::gtest_reporter gtest_reporter; ac::gtest_reporter gtest_reporter;
}; };
#if !defined(_MSC_VER) || (_MSC_VER >= 1900) #if !defined(_MSC_VER) || (_MSC_VER >= 2000)
// Compilers of MVS below 2015 do not support unrestricted unions. The // Compilers of MVS below 2015 do not support unrestricted unions. The
// unrestricted union is used by autocheck to handle test data. The autocheck // unrestricted union is used by autocheck to handle test data. The autocheck
// workaround for MVS compilers (below version 2015) contains a bug and in the // workaround for MVS compilers (below version 2015) contains a bug and in the
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <numeric>
#include "Tests/GeoLib/AutoCheckGenerators.h" #include "Tests/GeoLib/AutoCheckGenerators.h"
#include "GeoLib/AnalyticalGeometry.h" #include "GeoLib/AnalyticalGeometry.h"
...@@ -30,7 +30,7 @@ public: ...@@ -30,7 +30,7 @@ public:
ac::gtest_reporter gtest_reporter; ac::gtest_reporter gtest_reporter;
}; };
#if !defined(_MSC_VER) || (_MSC_VER >= 1900) #if !defined(_MSC_VER) || (_MSC_VER >= 2000)
// Compilers of MVS below 2015 do not support unrestricted unions. The // Compilers of MVS below 2015 do not support unrestricted unions. The
// unrestricted union is used by autocheck to handle test data. The autocheck // unrestricted union is used by autocheck to handle test data. The autocheck
// workaround for MVS compilers (below version 2015) contains a bug and in the // workaround for MVS compilers (below version 2015) contains a bug and in the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment