I try to remove some of these warnings

Andi Jahja escribió:
> Here are GCC warnings on core files:
> 
> --- start ---
> source/compiler/harbour.sly:390.14-76: warning: unused value: $3
> source/compiler/harbour.sly:391.14-88: warning: unused value: $3
> source/compiler/harbour.sly:391.14-88: warning: unused value: $5
> source/compiler/harbour.sly:2880.14-2939.16: warning: unused value: $2
> source/rtl/session.c: In function 'hb_sessionID':
> source/rtl/session.c:116: warning: pointer/integer type mismatch in 
> conditional expression
> source/rtl/session.c:116: warning: return makes integer from pointer without 
> a cast
> source/rtl/set.c: In function 'hb_setSetItem':
> source/rtl/set.c:1743: warning: enumeration value 'HB_SET_ERRORLOG' not 
> handled in switch
> source/rtl/set.c:1743: warning: enumeration value 'HB_SET_MACROBLOCKVARS' not 
> handled in switch
> source/rtl/set.c:1743: warning: enumeration value 'HB_SET_PRINTERJOB' not 
> handled in switch
> source/rtl/set.c:1743: warning: enumeration value 'HB_SET_TRACE' not handled 
> in switch
> source/rtl/set.c:1743: warning: enumeration value 'HB_SET_TRACEFILE' not 
> handled in switch
> source/rtl/set.c:1743: warning: enumeration value 'HB_SET_TRACESTACK' not 
> handled in switch
> source/rtl/filenet.c: In function 'hb_fileNetExtOpen':
> source/rtl/filenet.c:737: warning: format '%p' expects type 'void **', but 
> argument 3 has type 'HB_FHANDLE *'
> source/rtl/filenet.c: In function 'hb_fileNetClose':
> source/rtl/filenet.c:816: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetLock':
> source/rtl/filenet.c:852: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c:880: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetReadAt':
> source/rtl/filenet.c:913: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetReadLarge':
> source/rtl/filenet.c:953: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetWriteAt':
> source/rtl/filenet.c:993: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetWriteLarge':
> source/rtl/filenet.c:1037: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetWrite':
> source/rtl/filenet.c:1082: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetTruncAt':
> source/rtl/filenet.c:1123: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_fileNetSeekLarge':
> source/rtl/filenet.c:1145: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c:1156: warning: format '%lu' expects type 'long unsigned 
> int *', but argument 3 has type 'short unsigned int *'
> source/rtl/filenet.c: In function 'hb_fileNetCommit':
> source/rtl/filenet.c:1190: warning: format '%p' expects type 'void *', but 
> argument 3 has type 'HB_FHANDLE'
> source/rtl/filenet.c: In function 'hb_FileNetFindNext':
> source/rtl/filenet.c:1455: warning: array subscript is above array bounds
> source/rtl/filenet.c: In function 'hb_FileNetFindFirst':
> source/rtl/filenet.c:1408: warning: array subscript is above array bounds
> source/rdd/dbcmd.c: In function 'HB_FUN_ISMARKED':
> source/rdd/dbcmd.c:931: warning: passing argument 2 of 'hb_itemPutL' makes 
> integer from pointer without a cast
> include/hbapiitm.h:136: note: expected 'BOOL' but argument is of type 'void *'
> include/hbrdddbf.h:269: warning: 'hb_dbfBof' declared 'static' but never 
> defined
> include/hbrdddbf.h:270: warning: 'hb_dbfEof' declared 'static' but never 
> defined
> include/hbrdddbf.h:271: warning: 'hb_dbfFound' declared 'static' but never 
> defined
> include/hbrdddbf.h:272: warning: 'hb_dbfGoBottom' declared 'static' but never 
> defined
> include/hbrdddbf.h:273: warning: 'hb_dbfGoTo' declared 'static' but never 
> defined
> include/hbrdddbf.h:274: warning: 'hb_dbfGoToId' declared 'static' but never 
> defined
> include/hbrdddbf.h:275: warning: 'hb_dbfGoTop' declared 'static' but never 
> defined
> include/hbrdddbf.h:277: warning: 'hb_dbfSkip' declared 'static' but never 
> defined
> include/hbrdddbf.h:279: warning: 'hb_dbfSkipRaw' declared 'static' but never 
> defined
> include/hbrdddbf.h:280: warning: 'hb_dbfAddField' declared 'static' but never 
> defined
> include/hbrdddbf.h:281: warning: 'hb_dbfAppend' declared 'static' but never 
> defined
> include/hbrdddbf.h:283: warning: 'hb_dbfDeleteRec' declared 'static' but 
> never defined
> include/hbrdddbf.h:284: warning: 'hb_dbfDeleted' declared 'static' but never 
> defined
> include/hbrdddbf.h:289: warning: 'hb_dbfFlush' declared 'static' but never 
> defined
> include/hbrdddbf.h:290: warning: 'hb_dbfGetRec' declared 'static' but never 
> defined
> include/hbrdddbf.h:291: warning: 'hb_dbfGetValue' declared 'static' but never 
> defined
> include/hbrdddbf.h:292: warning: 'hb_dbfGetVarLen' declared 'static' but 
> never defined
> include/hbrdddbf.h:293: warning: 'hb_dbfGoCold' declared 'static' but never 
> defined
> include/hbrdddbf.h:294: warning: 'hb_dbfGoHot' declared 'static' but never 
> defined
> include/hbrdddbf.h:295: warning: 'hb_dbfPutRec' declared 'static' but never 
> defined
> include/hbrdddbf.h:296: warning: 'hb_dbfPutValue' declared 'static' but never 
> defined
> include/hbrdddbf.h:297: warning: 'hb_dbfRecall' declared 'static' but never 
> defined
> include/hbrdddbf.h:298: warning: 'hb_dbfRecCount' declared 'static' but never 
> defined
> include/hbrdddbf.h:299: warning: 'hb_dbfRecInfo' declared 'static' but never 
> defined
> include/hbrdddbf.h:300: warning: 'hb_dbfRecNo' declared 'static' but never 
> defined
> include/hbrdddbf.h:301: warning: 'hb_dbfRecId' declared 'static' but never 
> defined
> include/hbrdddbf.h:302: warning: 'hb_dbfSetFieldExtent' declared 'static' but 
> never defined
> include/hbrdddbf.h:304: warning: 'hb_dbfClose' declared 'static' but never 
> defined
> include/hbrdddbf.h:305: warning: 'hb_dbfCreate' declared 'static' but never 
> defined
> include/hbrdddbf.h:306: warning: 'hb_dbfInfo' declared 'static' but never 
> defined
> include/hbrdddbf.h:307: warning: 'hb_dbfNewArea' declared 'static' but never 
> defined
> include/hbrdddbf.h:308: warning: 'hb_dbfOpen' declared 'static' but never 
> defined
> include/hbrdddbf.h:310: warning: 'hb_dbfStructSize' declared 'static' but 
> never defined
> include/hbrdddbf.h:313: warning: 'hb_dbfPack' declared 'static' but never 
> defined
> include/hbrdddbf.h:314: warning: 'hb_dbfPackRec' declared 'static' but never 
> defined
> include/hbrdddbf.h:315: warning: 'hb_dbfSort' declared 'static' but never 
> defined
> include/hbrdddbf.h:316: warning: 'hb_dbfTrans' declared 'static' but never 
> defined
> include/hbrdddbf.h:318: warning: 'hb_dbfZap' declared 'static' but never 
> defined
> include/hbrdddbf.h:319: warning: 'hb_dbfChildEnd' declared 'static' but never 
> defined
> include/hbrdddbf.h:320: warning: 'hb_dbfChildStart' declared 'static' but 
> never defined
> include/hbrdddbf.h:321: warning: 'hb_dbfChildSync' declared 'static' but 
> never defined
> include/hbrdddbf.h:324: warning: 'hb_dbfForceRel' declared 'static' but never 
> defined
> include/hbrdddbf.h:344: warning: 'hb_dbfSetFilter' declared 'static' but 
> never defined
> include/hbrdddbf.h:352: warning: 'hb_dbfRawLock' declared 'static' but never 
> defined
> include/hbrdddbf.h:353: warning: 'hb_dbfLock' declared 'static' but never 
> defined
> include/hbrdddbf.h:354: warning: 'hb_dbfUnLock' declared 'static' but never 
> defined
> include/hbrdddbf.h:356: warning: 'hb_dbfCreateMemFile' declared 'static' but 
> never defined
> include/hbrdddbf.h:357: warning: 'hb_dbfGetValueFile' declared 'static' but 
> never defined
> include/hbrdddbf.h:358: warning: 'hb_dbfOpenMemFile' declared 'static' but 
> never defined
> include/hbrdddbf.h:359: warning: 'hb_dbfPutValueFile' declared 'static' but 
> never defined
> include/hbrdddbf.h:361: warning: 'hb_dbfReadDBHeader' declared 'static' but 
> never defined
> include/hbrdddbf.h:362: warning: 'hb_dbfWriteDBHeader' declared 'static' but 
> never defined
> include/hbrdddbf.h:364: warning: 'hb_dbfInit' declared 'static' but never 
> defined
> include/hbrdddbf.h:365: warning: 'hb_dbfExit' declared 'static' but never 
> defined
> include/hbrdddbf.h:366: warning: 'hb_dbfDrop' declared 'static' but never 
> defined
> include/hbrdddbf.h:367: warning: 'hb_dbfExists' declared 'static' but never 
> defined
> include/hbrdddbf.h:368: warning: 'hb_dbfRddInfo' declared 'static' but never 
> defined
> 
> --- end ---
> 
> Andi
> 
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
> 
> __________ Información de ESET NOD32 Antivirus, versión de la base de firmas 
> de virus 4430 (20090916) __________
> 
> ESET NOD32 Antivirus ha comprobado este mensaje.
> 
> http://www.eset.com
> 
> 
> 
> 



__________ Información de ESET NOD32 Antivirus, versión de la base de firmas de 
virus 4430 (20090916) __________

ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to