aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-04-23 13:16:49 +0000
committerlloyd <[email protected]>2012-04-23 13:16:49 +0000
commitcd82d3641c891ef6e446cdfe584dbd936f6a564d (patch)
tree9a407ca0524ed0f09a511199d42b76edbd34969f /checks
parentb6bbdd39e713509696eeef8ace9dae1efe979393 (diff)
Fix various typos, and remove an unused macro in checks/bench.cpp
All reported by Patrick Pelletier.
Diffstat (limited to 'checks')
-rw-r--r--checks/bench.cpp12
-rw-r--r--checks/validate.cpp2
2 files changed, 1 insertions, 13 deletions
diff --git a/checks/bench.cpp b/checks/bench.cpp
index e9eb92199..21b568902 100644
--- a/checks/bench.cpp
+++ b/checks/bench.cpp
@@ -150,18 +150,6 @@ void report_results(const std::string& algo,
std::cout << algo;
-#if defined(__SUNPRO_CC)
- #define REVERSE_ITERATOR_BUG 1
-#elif defined(__GNUC__) && __GNUC__ <= 3
- #define REVERSE_ITERATOR_BUG 1
-#elif defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ == 0)
- #define REVERSE_ITERATOR_BUG 1
-#endif
-
-#ifndef REVERSE_ITERATOR_BUG
- #define REVERSE_ITERATOR_BUG 0
-#endif
-
#if (defined(__GNUC__) && __GNUC__ <= 3) || defined(__SUNPRO_CC)
// Work around GCC 3.x bug, reverse iterators don't work
for(std::map<double, std::string>::const_iterator i = results.begin(); i != results.end(); ++i)
diff --git a/checks/validate.cpp b/checks/validate.cpp
index 3de081d56..2bb099030 100644
--- a/checks/validate.cpp
+++ b/checks/validate.cpp
@@ -341,7 +341,7 @@ u32bit do_validation_tests(const std::string& filename,
if(should_pass)
std::cout << "Testing " << algorithm << "..." << std::endl;
else
- std::cout << "Testing (expecing failure) "
+ std::cout << "Testing (expecting failure) "
<< algorithm << "..." << std::endl;
#endif
alg_count = 0;