Re: better atomics - require PG_USE_INLINE support? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: better atomics - require PG_USE_INLINE support?
Date
Msg-id 20131107175552.GH28314@alap2.anarazel.de
Whole thread Raw
In response to Re: better atomics  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On 2013-11-06 17:24:57 +0100, Andres Freund wrote:
> Questions:
> * Do we really want to continue to cater to compilers not supporting
>   PG_USE_INLINE? I've tried to add support for them, but it does make
>   things considerably more #ifdef-y.
>   Afaik it's only HPUX's acc that has problems, and it seems to work but
>   generate warnings, so maybe that's ok?

Maybe we can simply silence that specific warning for HPUX when using
aC++ like in the attached patch? It's not like somebody really looks at
those anyway given how bleaty it is.
Or we can just generally remove the "quiet inline" check.

I haven't tested the patch since I don't have a HPUX machine but that's the option to use according to
http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/Online_Help/options.htm#opt+Wargs

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Changing pg_dump default file format
Next
From: Josh Berkus
Date:
Subject: Re: Changing pg_dump default file format