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:
parent
d723342f30
commit
6e978472dd
1 changed files with 6 additions and 3 deletions
|
@ -45,6 +45,9 @@
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
|
@ -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;
|
bool caught = false;
|
||||||
for ( unsigned int aa = 1; aa < argc; ++aa )
|
for ( int aa = 1; aa < argc; ++aa )
|
||||||
{
|
{
|
||||||
if ( ::strcmp( argv[aa], "-v" ) == 0 )
|
if ( ::strcmp( argv[aa], "-v" ) == 0 )
|
||||||
s_verbose = true;
|
s_verbose = true;
|
||||||
|
|
Loading…
Reference in a new issue