Hi.
I'm getting a bunch of warnings while generating binaries of
letodb-2.15-b3.src with hbmk2 in Windows.
Since I am not so good in C I can't say if this is relevant or not...
- Harbour 3.4.0dev (554e787) (2015-07-02 00:32) ( Viktor's fork )
- gcc (i686-posix-sjlj-rev0, Built by MinGW-W64 project) 5.1.0
[[]] Maurício Ventura Faria
../source/server/letofunc.c: In function 'leto_Skip':
../source/server/letofunc.c:5034:38: warning: logical not is only
applied to the left hand side of comparison [-Wlogical-not-parentheses]
if( !pUStru || !pUStru->pCurAStru < 0 || !szData )
^
../source/server/letofunc.c: In function 'leto_Goto':
../source/server/letofunc.c:5241:38: warning: logical not is only
applied to the left hand side of comparison [-Wlogical-not-parentheses]
if( !pUStru || !pUStru->pCurAStru < 0 || !szData )
^
../source/server/letofunc.c: In function 'leto_Memo':
../source/server/letofunc.c:5325:38: warning: logical not is only
applied to the left hand side of comparison [-Wlogical-not-parentheses]
if( !pUStru || !pUStru->pCurAStru < 0 || !szData )
^
../source/server/letofunc.c: In function 'leto_Ordfunc':
../source/server/letofunc.c:5484:38: warning: logical not is only
applied to the left hand side of comparison [-Wlogical-not-parentheses]
if( !pUStru || !pUStru->pCurAStru < 0 || !szData )
^
../source/server/letofunc.c: In function 'leto_OrderInfo':
../source/server/letofunc.c:8100:38: warning: logical not is only
applied to the left hand side of comparison [-Wlogical-not-parentheses]
if( !pUStru || !pUStru->pCurAStru < 0 || !szData )
^
../source/server/letofunc.c: In function 'leto_filef':
../source/server/letofunc.c:3533:24: warning: 'pp3' may be used
uninitialized in this function [-Wmaybe-uninitialized]
pBuf = pp3 + strlen( pp3 ) + 1;
^
../source/server/letofunc.c: In function 'leto_Ordfunc':
../source/server/letofunc.c:5661:29: warning: 'pFlags' may be used
uninitialized in this function [-Wmaybe-uninitialized]
bDeleted = ( *pFlags & 0x01 )? 1 : 0;
^
../source/server/letofunc.c:5778:35: warning: 'pDopFlags' may be used
uninitialized in this function [-Wmaybe-uninitialized]
pDopFlags += strlen(pDopFlags) + 1;
^
../source/server/letofunc.c:5776:25: warning: 'pNumber' may be used
uninitialized in this function [-Wmaybe-uninitialized]
sscanf( pNumber, "%lu", &ulRecNo );
^
../source/server/letofunc.c: In function 'leto_udf':
../source/server/letofunc.c:7975:16: warning: 'pp2' may be used
uninitialized in this function [-Wmaybe-uninitialized]
PHB_DYNS pSym = hb_dynsymFindName( pp2 );
^
|