diff --git a/oclmath/rounding_mode.cpp b/oclmath/rounding_mode.cpp index 24e8ea999..bc9faf92f 100644 --- a/oclmath/rounding_mode.cpp +++ b/oclmath/rounding_mode.cpp @@ -130,8 +130,6 @@ RoundingMode set_round(RoundingMode r, Type outType) { int err = _controlfp_s(&oldRound, 0, 0); // get rounding mode into oldRound if (err) { - vlog_error("\t\tERROR: -- cannot get rounding mode in %s:%d\n", __FILE__, - __LINE__); return kDefaultRoundingMode; // what else never happens } diff --git a/oclmath/rounding_mode.h b/oclmath/rounding_mode.h index 38c9e4c38..8ebd3430e 100644 --- a/oclmath/rounding_mode.h +++ b/oclmath/rounding_mode.h @@ -18,11 +18,6 @@ #include "compat.h" -#if (defined(_WIN32) && defined(_MSC_VER)) -#include "errorHelpers.h" -#include "testHarness.h" -#endif - typedef enum { kDefaultRoundingMode = 0, kRoundToNearestEven,