Re: [GENERAL] Building tds_fdw Extension for Windows 64bit - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Building tds_fdw Extension for Windows 64bit
Date
Msg-id 28459.1509637214@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Building tds_fdw Extension for Windows 64bit  ("Igal @ Lucee.org" <igal@lucee.org>)
Responses Re: [GENERAL] Building tds_fdw Extension for Windows 64bit  ("Igal @ Lucee.org" <igal@lucee.org>)
List pgsql-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.magwien.gv.at
        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

pgsql-general by date:

Previous
From: "Igal @ Lucee.org"
Date:
Subject: Re: [GENERAL] Building tds_fdw Extension for Windows 64bit
Next
From: Mark Fletcher
Date:
Subject: [GENERAL] Logical decoding error