Re: Declaration fixes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Declaration fixes
Date
Msg-id 418904.1652375885@sss.pgh.pa.us
Whole thread Raw
In response to Declaration fixes  (Andres Freund <andres@anarazel.de>)
Responses Re: Declaration fixes  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> I was experimenting with specifying symbol visiblity for functions explicitly,
> i.e. adding PGDLLIMPORT markers for them, with the goal of getting rid of
> src/tools/msvc/gendef.pl (and similar AIX stuff). While doing that I compared
> the set of exported symbols before / after, leading me to find a few
> pre-existing "issues".

> I think the attached patches are all a good idea and trivial enought that I
> think we should apply them now.

+1 to all of that.  Would the changes you're working on result in getting
warnings for these sorts of oversights on mainstream compilers?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Declaration fixes
Next
From: Andres Freund
Date:
Subject: Re: Declaration fixes