Kilburn Abrahams <kilburna@gmail.com> writes:
> I am getting build erros with psqlodbc 08.04.200 and unixodbc 2.3.0.
> odbcapi.c: In function 'SQLTablePrivileges':
> odbcapi.c:1594: warning: pointer targets in passing argument 2 of
> 'make_lstring_ifneeded' differ in signedness
> misc.h:133: note: expected 'const char *' but argument is of type
> 'SQLCHAR *'
> odbcapi.c:1596: warning: pointer targets in assignment differ in signedness
> odbcapi.c:1599: warning: pointer targets in passing argument 2 of
> 'make_lstring_ifneeded' differ in signedness
> misc.h:133: note: expected 'const char *' but argument is of type
> 'SQLCHAR *'
> odbcapi.c:1601: warning: pointer targets in assignment differ in signedness
> odbcapi.c:1604: warning: pointer targets in passing argument 2 of
> 'make_lstring_ifneeded' differ in signedness
> misc.h:133: note: expected 'const char *' but argument is of type
> 'SQLCHAR *'
> odbcapi.c:1606: warning: pointer targets in assignment differ in signedness
> make[1]: *** [odbcapi.lo] Error 1
You seem to have edited out the actual error :-(. What you showed is
just warnings, and harmless ones at that.
regards, tom lane