remove system(PAUSE) for gcc, Thanks to Lukas Fittl

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@409 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-01-04 23:54:30 +00:00
parent 5a9457da09
commit dd7235322b
9 changed files with 34 additions and 19 deletions

View file

@ -293,14 +293,19 @@ int main()
cout << endl;
cout << endl;
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
return EXIT_SUCCESS;
}
// $Log$
// Revision 1.11 2006/01/04 23:54:28 syntheticpp
// remove system(PAUSE) for gcc, Thanks to Lukas Fittl
//
// Revision 1.10 2006/01/04 23:45:08 syntheticpp
// remove gcc 4.0 warnings, Thanks to Lukas Fittl
//

View file

@ -784,7 +784,9 @@ int test_main(int, char* [])
test_implicit();
test_call();
system("pause");
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
return 0;
}

View file

@ -138,7 +138,9 @@ int main()
std::cout << "\n";
system("pause");
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
return 0;
}

View file

@ -62,10 +62,9 @@ int main()
{
int result = Test::run("Loki Unit Test");
#if defined(__BORLANDC__) || defined(__GNUC__) || defined(_MSC_VER)
// Stop console window from closing if run from IDE.
system("pause");
#endif
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
return result;
}
@ -117,6 +116,9 @@ int main()
// $Log$
// Revision 1.13 2006/01/04 23:54:30 syntheticpp
// remove system(PAUSE) for gcc, Thanks to Lukas Fittl
//
// Revision 1.12 2005/10/30 14:22:31 syntheticpp
// disable threading because the sdk (windows.h) is not detected automatically by the batch scripts
//

View file

@ -71,8 +71,8 @@ int main(int argc, char *argv[])
LogBook::Instance().print("LogClass reinstantiated.");
LogBook::Instance().print("Going to terminate program now.");
#if defined(__BORLANDC__) || defined(__GNUC__) || defined(_MSC_VER)
system("pause"); // Stop console window from closing if run from IDE.
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
return 0;

View file

@ -448,8 +448,8 @@ int main()
#endif //#if !defined(_MSC_VER) || (_MSC_VER>=1400)
#if defined(__BORLANDC__) || defined(__GNUC__) || defined(_MSC_VER)
system("pause");
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
std::cout << "\nnow leaving main \n";

View file

@ -82,8 +82,8 @@ int main(int argc, char* argv[])
SetLongevity<Example, void (*)(Example*)>(example, 1, &Loki::Private::Deleter<Example>::Delete);
LogBook::Instance().echo("LogClass now instantiated.");
#if defined(__BORLANDC__) || defined(__GNUC__) || defined(_MSC_VER)
system("pause"); // Stop console window from closing if run from IDE.
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
return 0;

View file

@ -314,10 +314,8 @@ int main()
testSize<16,loop>();
testSize<17,loop>();
#if defined(__BORLANDC__) || defined(__GNUC__) || defined(_MSC_VER)
// Stop console window from closing if run from IDE.
system("pause");
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
return 0;
@ -326,6 +324,9 @@ int main()
// ----------------------------------------------------------------------------
// $Log$
// Revision 1.17 2006/01/04 23:54:30 syntheticpp
// remove system(PAUSE) for gcc, Thanks to Lukas Fittl
//
// Revision 1.16 2005/12/08 22:23:33 rich_sposato
// Added checks for whether loki's allocator is corrupted.
//

View file

@ -353,8 +353,8 @@ int main()
cout << endl << endl;
#endif
#if defined(__BORLANDC__) || defined(__GNUC__) || defined(_MSC_VER)
system("pause");
#if defined(__BORLANDC__) || defined(_MSC_VER)
system("PAUSE");
#endif
cout << endl<< endl << "now leaving main" << endl;
@ -366,6 +366,9 @@ int main()
// ----------------------------------------------------------------------------
// $Log$
// Revision 1.12 2006/01/04 23:54:30 syntheticpp
// remove system(PAUSE) for gcc, Thanks to Lukas Fittl
//
// Revision 1.11 2005/12/08 21:03:02 rich_sposato
// Changed template parameter values for SmallObject allocator.
//