That is why I left this message in the ChangeLog: --- 2010-02-27 12:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) ... ; TOFIX: Warnings are showing up in non-UNICODE mode: odbc.c:438: warning: pointer targets in passing argument 2 of 'hb_storstr' differ in signedness Couldn't find an optimal way to pacify them (also in sddodbc). Can someone help? ---
Brgds, Viktor On 2010 Feb 27, at 17:53, Lorenzo Fiorini wrote: > On Sat, Feb 27, 2010 at 12:29 PM, <vszak...@users.sourceforge.net> wrote: > >> * contrib/hbodbc/odbc.c >> * contrib/rddsql/sddodbc/sddodbc.c > > I'm testing Ubuntu 10.04 Alpha3 and I got these warnings: > > ../../../odbc.c: In function ‘HB_FUN_SQLDRIVERCONNECT’: > ../../../odbc.c:162: warning: pointer targets in passing argument 2 of > ‘hb_storstr’ differ in signedness > ../../../../../include/hbapistr.h:117: note: expected ‘const char *’ > but argument is of type ‘SQLTCHAR *’ > ../../../odbc.c: In function ‘HB_FUN_SQLDESCRIBECOL’: > ../../../odbc.c:336: warning: pointer targets in passing argument 2 of > ‘hb_storstrlen’ differ in signedness > ../../../../../include/hbapistr.h:121: note: expected ‘const char *’ > but argument is of type ‘SQLTCHAR *’ > ../../../odbc.c: In function ‘HB_FUN_SQLERROR’: > ../../../odbc.c:438: warning: pointer targets in passing argument 2 of > ‘hb_storstr’ differ in signedness > ../../../../../include/hbapistr.h:117: note: expected ‘const char *’ > but argument is of type ‘SQLTCHAR *’ > ../../../odbc.c:440: warning: pointer targets in passing argument 2 of > ‘hb_storstr’ differ in signedness > ../../../../../include/hbapistr.h:117: note: expected ‘const char *’ > but argument is of type ‘SQLTCHAR *’ > ../../../sddodbc.c: In function ‘odbcGetError’: > ../../../sddodbc.c:181: warning: pointer targets in passing argument 3 > of ‘hb_itemPutStr’ differ in signedness > ../../../../../../include/hbapistr.h:87: note: expected ‘const char *’ > but argument is of type ‘SQLTCHAR *’ > > best regards, > Lorenzo > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour