From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Compilation failure with nmake and MSTDC = no in HEAD |
Date: | 2015-01-06 05:30:19 |
Message-ID: | CAB7nPqTazk6AE0GsJJKQ+UMZ1wC4kgf_k_z+LMQk8KZoGEgn5g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
20150106_nmake_mstdc_fix.patch | text/x-diff | 4.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2015-01-06 09:40:27 | Re: Compilation failure with nmake and MSTDC = no in HEAD |
Previous Message | Heikki Linnakangas | 2015-01-05 17:50:57 | Re: PostgreSQL ODBC Commercial use |