Added include statements and changed main() declaration.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1030 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2009-10-10 23:09:23 +00:00
parent d723342f30
commit 6e978472dd

View file

@ -45,6 +45,9 @@
// ----------------------------------------------------------------------------
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <new>
@ -430,7 +433,7 @@ const char * GetGnuVersion( void )
static char buffer[ 64 ];
sprintf( buffer, "GNU version %d.%d.%d", major, minor, patch );
return buffer;
#else
return "not a GNU compiler";
#endif
@ -751,11 +754,11 @@ void RunTests( void )
// ----------------------------------------------------------------------------
int main( unsigned int argc, const char * const argv[] )
int main( int argc, const char * const argv[] )
{
bool caught = false;
for ( unsigned int aa = 1; aa < argc; ++aa )
for ( int aa = 1; aa < argc; ++aa )
{
if ( ::strcmp( argv[aa], "-v" ) == 0 )
s_verbose = true;