From a6f92b50083e1ba4bb6c74495d86f8c217e248bb Mon Sep 17 00:00:00 2001 From: Ron Pinkas Date: Fri, 5 May 2000 06:02:37 +0000 Subject: [PATCH] 20000504-23:00 GMT-8 Ron Pinkas * source/compiler/cmdcheck.c + Added -w4 option for the compiler. --- harbour/ChangeLog | 5 +++++ harbour/source/compiler/cmdcheck.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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;