Luiz: > Which C compiler, I used borland C++ 5.82 and dont get this messages
Ms Visual Studio 2010. Wirh BCC 5.82 I got: MAKE Version 5.2 Copyright (c) 1987, 2000 Borland BCC32 -DHB_AVOID_RESERVED_WORDS -DHB_NO_BACKGROUND -I..\shared\leto_1\include -I..\shared\firebird\2.5.0\include -Iinclude -Isource\rtl\zlib -Icontrib\hbzlib\include -Iobj\58 -Icontrib\png -Icontrib\hbhpdf -I..\shared\openssl-1.0e\include -I..\shared\curl\include -Icontrib\sixapi\include -Icontrib\rddsql -I"contrib\hbsqlit3" -I"contrib\pdflib" -Icontrib\pdflite\include -Icontrib\tiff -Icontrib\jpeg -I..\shared\cairo-1.10.0\include\cairo -I..\SHARED\POSTGRESQL\9.0\include -c -d -DHB_FM_DL_ALLOC -OS -O2 -Ov -Oi -Oc -w -w-8071 -w-8061 -DHB_VM_ALL -DHB_NO_DEBUG -6 -a8 -D__WIN32__ -tWM -DHARBOUR_CONF -DHAVE_CONFIG_H -DHB_GUI -DTHIRTY_TWO_BIT -DPNGLIB_BUILD -oobj\58\adsfunc.obj contrib\rdd_ads\adsfunc.c Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland contrib\rdd_ads\adsfunc.c: Warning W8080 contrib\rdd_ads\adsfunc.c 2018: 'usPropertyLen' is declared but never used in function HB_FUN_ADSDDSETTABLEPROPERTY Warning W8079 contrib\rdd_ads\adsfunc.c 2372: Mixing pointers to different 'char' types in function HB_FUN_ADSSETBINARY Warning W8079 contrib\rdd_ads\adsfunc.c 2387: Mixing pointers to different 'char' types in function HB_FUN_ADSSETSTRING Warning W8079 contrib\rdd_ads\adsfunc.c 2401: Mixing pointers to different 'char' types in function HB_FUN_ADSSETDATE Warning W8079 contrib\rdd_ads\adsfunc.c 2413: Mixing pointers to different 'char' types in function HB_FUN_ADSSETLONG Warning W8079 contrib\rdd_ads\adsfunc.c 2425: Mixing pointers to different 'char' types in function HB_FUN_ADSSETDOUBLE Warning W8079 contrib\rdd_ads\adsfunc.c 2435: Mixing pointers to different 'char' types in function HB_FUN_ADSSETLOGICAL Warning W8075 contrib\rdd_ads\adsfunc.c 2452: Suspicious pointer conversion in function HB_FUN_ADSSETFIELD Warning W8075 contrib\rdd_ads\adsfunc.c 2453: Suspicious pointer conversion in function HB_FUN_ADSSETFIELD Warning W8075 contrib\rdd_ads\adsfunc.c 2464: Suspicious pointer conversion in function HB_FUN_ADSGETFIELDTYPE Warning W8079 contrib\rdd_ads\adsfunc.c 2520: Mixing pointers to different 'char' types in function HB_FUN_ADSBUILDRAWKEY Warning W8080 contrib\rdd_ads\adsfunc.c 2542: 'ulRetVal' is declared but never used in function HB_FUN_ADSGOTOTOP Warning W8004 contrib\rdd_ads\adsfunc.c 2528: 'hIndex' is assigned a value that is never used in function HB_FUN_ADSGOTOTOP Warning W8080 contrib\rdd_ads\adsfunc.c 2560: 'ulRetVal' is declared but never used in function HB_FUN_ADSGOTOBOTTOM Warning W8004 contrib\rdd_ads\adsfunc.c 2547: 'hIndex' is assigned a value that is never used in function HB_FUN_ADSGOTOBOTTOM BIN\58\hblib.exe __BORLANDC__ TLIB "/P256 /0 /C" LIB\58\rddads.lib obj\58\ads1.obj obj\58\adsfunc.obj obj\58\adsmgmnt.obj obj\58\ace32.obj MAKE Version 5.2 Copyright (c) 1987, 2000 Borland Andi > -----Original Message----- From: Andi Jahja > Sent: Tuesday, December 11, 2012 9:31 PM > To: xharbour-developers@lists.sourceforge.net > Subject: Re: [xHarbour-developers] 2012-12-09 23:00 UTC-200 Luiz RafaelCulik > > After: > > 2012-12-09 23:00 UTC-200 Luiz Rafael Culik <luiz/AT/xharbour/com/br> > * contrib/rdd_ads/adsfunc.c > ! added new function provided by Reinaldo Crespo > <reinaldo.cre...@gmail.com> > > adsfunc.c > contrib\rdd_ads\adsfunc.c(2013) : warning C4245: '=' : conversion from 'int' > to 'UNSIGNED32', signed/unsigned mismatch > contrib\rdd_ads\adsfunc.c(1986) : warning C4101: 'usPropertyLen' : > unreferenced local variable > contrib\rdd_ads\adsfunc.c(2372) : error C2664: 'AdsSetBinary' : cannot > convert parameter 2 from 'char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2387) : error C2664: 'AdsSetString' : cannot > convert parameter 2 from 'char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2401) : error C2664: 'AdsSetDate' : cannot convert > parameter 2 from 'char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2413) : error C2664: 'AdsSetLong' : cannot convert > parameter 2 from 'char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2425) : error C2664: 'AdsSetDouble' : cannot > convert parameter 2 from 'char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2435) : error C2664: 'AdsSetLogical' : cannot > convert parameter 2 from 'char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2452) : error C2440: 'initializing' : cannot > convert from 'const char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2453) : error C2664: 'hb_itemGetDL' : cannot > convert parameter 1 from 'UNSIGNED8 *' to 'PHB_ITEM' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2464) : error C2440: 'initializing' : cannot > convert from 'const char *' to 'UNSIGNED8 *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > contrib\rdd_ads\adsfunc.c(2520) : error C2664: 'hb_storc' : cannot convert > parameter 1 from 'UNSIGNED8 *' to 'const char *' > Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers