Re: [patch] build issues on Win32 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [patch] build issues on Win32
Date
Msg-id 16449.1268237831@sss.pgh.pa.us
Whole thread Raw
In response to Re: [patch] build issues on Win32  (Dag-Erling Smørgrav <des@des.no>)
Responses Re: [patch] build issues on Win32
List pgsql-hackers
Dag-Erling Smørgrav <des@des.no> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> "Dag-Erling Smørgrav" <des@des.no> writes:
>>> 1. PostgreSQL's private versions of inet_aton etc. can conflict with
>>> similar functions in other libraries (in my case, PostgreSQL's
>>> inet_aton conflicts with libavformat's).

>> So what?  We don't link with those libraries.

> Your users might need to link with both.

We don't support linking the backend into other applications.  If you're
complaining about libpq, the right thing for that is to use a platform
that can suppress non-exported symbols from a shared library.  Maybe
what we need to do is teach the mingw build path how to respect the
exports list for libpq?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [patch] build issues on Win32
Next
From: Dag-Erling Smørgrav
Date:
Subject: Re: [patch] build issues on Win32