Browse Source

* tests/tests.cc: resolve namespace ambiguity about strcmp().

master
Richard Kreckel 24 years ago
parent
commit
4fba5f5469
  1. 4
      ChangeLog
  2. 2
      tests/tests.cc

4
ChangeLog

@ -1,3 +1,7 @@
2000-06-05 Richard Kreckel <kreckel@ginac.de>
* tests/tests.cc: resolve namespace ambiguity about strcmp().
2000-05-31 Richard Kreckel <kreckel@ginac.de> 2000-05-31 Richard Kreckel <kreckel@ginac.de>
* Version 1.1.1 released. * Version 1.1.1 released.

2
tests/tests.cc

@ -21,7 +21,7 @@ int test_all (int iterations)
int main (int argc, char* argv[]) int main (int argc, char* argv[])
{ {
int iterations = 10000; int iterations = 10000;
if ((argc >= 3) && !strcmp(argv[1],"-i")) {
if ((argc >= 3) && !::strcmp(argv[1],"-i")) {
iterations = atoi(argv[2]); iterations = atoi(argv[2]);
argc -= 2; argv += 2; argc -= 2; argv += 2;
} }

Loading…
Cancel
Save