Re: New CVS doesn't compile - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: New CVS doesn't compile
Date
Msg-id 3B819C47.924A8FD5@tpf.co.jp
Whole thread Raw
In response to New CVS doesn't compile  ("Johann Zuschlag" <zuschlag2@online.de>)
Responses Re: New CVS doesn't compile  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-odbc
Johann Zuschlag wrote:
>
> Hi,
>
> I just retrieved the new CVS. When I try to compile it (VC++ 5.0), I get the following errors:
>
> 1. just a warning, 'updret', unreferenced local variable
> 2. info.obj: error LNK2001, unresolved external symbol _PGAPI_GETInfo30@20
>

Hmm you don't seem to be linking odbcapi30.obj.

> Line 685 in info.c should be changed from:
>

No. PGAPI_GetInfo() is also the caller and your change
causes a recursive call.

> return PGAPI_GetInfo30(hdbc, fInfoType, rgbInfoValue, cbInfoValueMax,pcbInfoValue);
>
> to:
>
> return PGAPI_GetInfo(hdbc, fInfoType, rgbInfoValue, cbInfoValueMax,pcbInfoValue);
>

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Michael Calabrese
Date:
Subject: Re: Float Percision with MS Access 97
Next
From: Hiroshi Inoue
Date:
Subject: Re: Stackerror using new CVS