Re: New CVS doesn't compile

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: New CVS doesn't compile
Дата
Msg-id 3B819C47.924A8FD5@tpf.co.jp
обсуждение исходный текст
Ответ на New CVS doesn't compile  ("Johann Zuschlag" <zuschlag2@online.de>)
Ответы Re: New CVS doesn't compile  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Michael Calabrese
Дата:
Сообщение: Re: Float Percision with MS Access 97
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Stackerror using new CVS