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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user