diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ea2075d2ea..858e6704f0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,8 @@ +20000504-23:00 GMT-8 Ron Pinkas + + * source/compiler/cmdcheck.c + + Added -w4 option for the compiler. + 20000504-22:40 GMT-8 Ron Pinkas * source/compiler/harbour.c diff --git a/harbour/source/compiler/cmdcheck.c b/harbour/source/compiler/cmdcheck.c index afa2722dd2..41f48084e2 100644 --- a/harbour/source/compiler/cmdcheck.c +++ b/harbour/source/compiler/cmdcheck.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;