Re: DLL export with mingw-w64: currently a no-op

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Johann 'Myrkraverk' Oskarsson <johann(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DLL export with mingw-w64: currently a no-op
Date: 2011-05-03 09:32:29
Message-ID: 4DBFCBAD.2050306@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/03/2011 02:46 AM, Johann 'Myrkraverk' Oskarsson wrote:
> Hi PostgreSQL Hackers,
>
> When compiling PG with mingw-w64 the PGDLLEXPORT macro is blank.
>
> Here is a patch that "fixes it for me." If this is correct, I'd
> appreciate it will be applied to 9.0.x as well as HEAD.
>
>

AFAICT it's not broken and doesn't need fixing. We don't define this for
the 32 bit MinGW compiler, so why should it be necessary in the 64 bit case?

The buildfarm member pitta builds Postgres and runs a full test suite
with mingw-w64 quite happily without this.

Messing with this setting has broken things badly in the past, so I
think we'd need plenty of evidence that a) it's necessary and b) it's
safe to do so. So far we have neither.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Susanne Ebrecht 2011-05-03 09:33:26 Re: FDW table hints
Previous Message Dave Page 2011-05-03 08:28:43 Re: A small step towards more organized beta testing