diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 5a8fa50f91..867e8d85ec 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-02-09 00:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * harbour/source/common/hbstr.c + ! Fixed three BCC5.5 warnings. + 2007-02-08 23:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch * harbour/contrib/libct/ctwin.c diff --git a/harbour/bin/bld.bat b/harbour/bin/bld.bat index 74c3214142..0c1c38067d 100644 --- a/harbour/bin/bld.bat +++ b/harbour/bin/bld.bat @@ -208,7 +208,7 @@ if not "%HB_ARCHITECTURE%" == "w32" goto A_OS2 if "%HB_GT_LIB%" == "" set _HB_GT_LIB=gtwin - if "%HB_COMPILER%" == "bcc32" bcc32 -O2 -d %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% %1.c codepage.lib debug.lib vm.lib rtl.lib %_HB_GT_LIB%.lib lang.lib rdd.lib macro.lib pp.lib dbffpt.lib dbfntx.lib dbfcdx.lib hbsix.lib common.lib + if "%HB_COMPILER%" == "bcc32" bcc32 -O2 -d %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% %1.c codepage.lib debug.lib vm.lib rtl.lib %_HB_GT_LIB%.lib lang.lib rdd.lib macro.lib pp.lib libct.lib dbffpt.lib dbfntx.lib dbfcdx.lib hbsix.lib common.lib if "%HB_COMPILER%" == "gcc" gcc %1.c -o%1.exe %CFLAGS% -I%HB_INC_INSTALL% -L%HB_LIB_INSTALL% -lcodepage -ldebug -lvm -lrtl -l%_HB_GT_LIB% -llang -lrdd -lrtl -lvm -lmacro -lpp -ldbffpt -ldbfntx -ldbfcdx -lhbsix -lcommon if "%HB_COMPILER%" == "mingw32" gcc %1.c -o%1.exe %CFLAGS% -mno-cygwin -I%HB_INC_INSTALL% %HB_INC_TEMP% -L%HB_LIB_INSTALL% -lcodepage -ldebug -lvm -lrtl -l%_HB_GT_LIB% -llang -lrdd -lrtl -lvm -lmacro -lpp -ldbffpt -ldbfntx -ldbfcdx -lhbsix -lcommon diff --git a/harbour/source/common/hbstr.c b/harbour/source/common/hbstr.c index 6cb6105ff9..9bff3a25ec 100644 --- a/harbour/source/common/hbstr.c +++ b/harbour/source/common/hbstr.c @@ -943,11 +943,11 @@ char * hb_strRemEscSeq( char *str, ULONG *pLen ) while( ul ) { if( *ptr >= '0' && *ptr <= '9' ) - ch = ch << 4 | ( *ptr++ - '0' ); + ch = ( ch << 4 ) | ( *ptr++ - '0' ); else if( *ptr >= 'A' && *ptr <= 'F' ) - ch = ch << 4 | ( *ptr++ - 'A' + 10 ); + ch = ( ch << 4 ) | ( *ptr++ - 'A' + 10 ); else if( *ptr >= 'a' && *ptr <= 'f' ) - ch = ch << 4 | ( *ptr++ - 'a' + 10 ); + ch = ( ch << 4 ) | ( *ptr++ - 'a' + 10 ); else break; ++ulStripped; diff --git a/harbour/source/rtl/isprint.c b/harbour/source/rtl/isprint.c index d180c2575b..60de5d6937 100644 --- a/harbour/source/rtl/isprint.c +++ b/harbour/source/rtl/isprint.c @@ -80,7 +80,7 @@ static BOOL DPGetDefaultPrinter(LPTSTR pPrinterName, LPDWORD pdwBufferSize); #endif -static BOOL hb_printerIsReady( char * pszPrinterName ) +BOOL hb_printerIsReady( char * pszPrinterName ) { BOOL bIsPrinter;