20000504-23:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>

* source/compiler/cmdcheck.c
     + Added -w4 option for the compiler.
This commit is contained in:
Ron Pinkas
2000-05-05 06:02:37 +00:00
parent 2583f6096d
commit a6f92b5008
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
20000504-23:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/cmdcheck.c
+ Added -w4 option for the compiler.
20000504-22:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c

View File

@@ -428,7 +428,7 @@ void hb_compChkEnvironVar( char * szSwitch )
if( s[ 1 ] )
{ /*there is -w<0,1,2,3> probably */
hb_comp_iWarnings = s[ 1 ] - '0';
if( hb_comp_iWarnings < 0 || hb_comp_iWarnings > 3 )
if( hb_comp_iWarnings < 0 || hb_comp_iWarnings > 4 )
hb_compGenError( hb_comp_szErrors, 'F', HB_COMP_ERR_BADOPTION, s, NULL );
}
break;