From: Tom Lane <tgl@sss.pgh.pa.us>
To: Igal @ Lucee.org <igal@lucee.org>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Building tds_fdw Extension for Windows 64bit
Date: Thu, 02 Nov 2017 11:40:14 -0400
Message-ID: <28459.1509637214@sss.pgh.pa.us> (raw)
In-Reply-To: <21b32984-8b50-60c2-0263-17aaa3ed61ce@lucee.org>
References: <6d349bd6-572b-ce41-0bf7-0fd9baac8af8@lucee.org>
<1509609905.3268.3.camel@cybertec.at>
<21b32984-8b50-60c2-0263-17aaa3ed61ce@lucee.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
"Igal @ Lucee.org" <igal@lucee.org> writes:
> Any other ideas?
It looks to me like MSVC is complaining about the PGDLLEXPORT
markings that tds_fdw.c has on the function definitions
(not the extern declarations). In the core code we only put
PGDLLEXPORT in extern declarations ... so try keeping it in
the externs and removing it from the .c file.
You may still get warnings that way, which I think you probably
have to live with, unless you want to make a .DEF file or use
--export-all-symbols as a substitute for PGDLLEXPORT'ing specific
functions. For some sorry history around this see
https://www.postgresql.org/message-id/flat/A737B7A37273E048B164557ADEF4A58B539300BD%40ntex2010a.host...
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, igal@lucee.org, laurenz.albe@cybertec.at
Subject: Re: Building tds_fdw Extension for Windows 64bit
In-Reply-To: <28459.1509637214@sss.pgh.pa.us>
References: <6d349bd6-572b-ce41-0bf7-0fd9baac8af8@lucee.org> <1509609905.3268.3.camel@cybertec.at> <21b32984-8b50-60c2-0263-17aaa3ed61ce@lucee.org> <28459.1509637214@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox