Re: New CVS doesn't compile

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Johann Zuschlag <zuschlag2(at)online(dot)de>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: New CVS doesn't compile
Date: 2001-08-20 23:24:55
Message-ID: 3B819C47.924A8FD5@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2001-08-20 23:26:04 Re: Stackerror using new CVS
Previous Message Michael Calabrese 2001-08-20 22:03:05 Re: Float Percision with MS Access 97