Re: Build problems with unixodbc 2.3 - Mailing list pgsql-odbc

From Tom Lane
Subject Re: Build problems with unixodbc 2.3
Date
Msg-id 9916.1283871016@sss.pgh.pa.us
Whole thread Raw
In response to Build problems with unixodbc 2.3  (Kilburn Abrahams <kilburna@gmail.com>)
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From: Kilburn Abrahams
Date:
Subject: Build problems with unixodbc 2.3
Next
From: "Werner Kuhnle"
Date:
Subject: Re-4: Problem with simple SELECT over ODBC