get rid of gnu_cxx namespace and troublesome ErrorString function
Giving weird compilation errors. We don't need it any way.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/src/sattypes.h b/src/sattypes.h
index 96bf13b..258cfc2 100644
--- a/src/sattypes.h
+++ b/src/sattypes.h
@@ -28,7 +28,7 @@
#ifdef HAVE_CONFIG_H // Built using autoconf
#include "stressapptest_config.h"
using namespace std;
-using namespace __gnu_cxx;
+//using namespace __gnu_cxx;
typedef signed long long int64;
typedef signed int int32;
@@ -166,6 +166,7 @@
return nanosleep(&req, NULL) == 0;
}
+#if 0
// Get an error code description for use in error messages.
//
// Args:
@@ -174,6 +175,7 @@
char buf[256];
return string(strerror_r(error_num, buf, sizeof buf));
}
+#endif
// Define handy constants here
static const int kTicksPerSec = 100;