Compilation failure with nmake and MSTDC = no in HEAD - Mailing list pgsql-odbc

From Michael Paquier
Subject Compilation failure with nmake and MSTDC = no in HEAD
Date
Msg-id CAB7nPqTazk6AE0GsJJKQ+UMZ1wC4kgf_k_z+LMQk8KZoGEgn5g@mail.gmail.com
Whole thread Raw
Responses Re: Compilation failure with nmake and MSTDC = no in HEAD  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-odbc
Hi all,

I noticed that the build with nmake is broken when using MSDTC = no
becaus of e85fbb (libpq switch):
setup.c(448) : warning C4013: 'CALL_GetTransactionObject' undefined;
assuming extern returning int
setup.c(448) : warning C4047: '=' : 'void *' differs in levels of
indirection from 'int'
setup.c(465) : warning C4013: 'CALL_ReleaseTransactionObject'
undefined; assuming extern returning int
Attached is a patch fixing the problem, simplifying at the same time
test_connection in setup.c where I think the boolean flag withDtc is
not needed.
Regards,
--
Michael

Attachment

pgsql-odbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: PostgreSQL ODBC Commercial use
Next
From: Heikki Linnakangas
Date:
Subject: Re: Compilation failure with nmake and MSTDC = no in HEAD