Compile error on Mac OS X
am 24.02.2006 18:34:52 von Dianne YumulHello,
I'm trying to compile psqlodbc-08.01.0200 on OS 10.4.5 but I this error:
results.c:168: error: conflicting types for 'PGAPI_DescribeCol'
pgapifunc.h:62: error: previous declaration of 'PGAPI_DescribeCol'
was here
results.c: In function 'PGAPI_DescribeCol':
results.c:320: warning: pointer targets in passing argument 1 of
'strncpy_null' differ in signedness
results.c: In function 'PGAPI_GetData':
results.c:928: warning: passing argument 7 of
'copy_and_convert_field' from incompatible pointer type
results.c: In function 'SC_pos_update':
results.c:2505: warning: pointer targets in passing argument 2 of
'PGAPI_ExecDirect' differ in signedness
results.c: In function 'SC_pos_add':
results.c:2856: warning: pointer targets in passing argument 2 of
'PGAPI_ExecDirect' differ in signedness
results.c: In function 'PGAPI_SetCursorName':
results.c:3245: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
results.c:3254: warning: pointer targets in passing argument 2 of
'strncpy_null' differ in signedness
results.c: In function 'PGAPI_GetCursorName':
results.c:3292: warning: pointer targets in passing argument 1 of
'strncpy_null' differ in signedness
make[1]: *** [results.lo] Error 1
make: *** [all] Error 2
I searched the archives and found someone posted a similar issue
recently. Just checking in again, maybe someone has found a solution.
Thank you,
Dianne
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly