Re: better atomics - require PG_USE_INLINE support?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: better atomics - require PG_USE_INLINE support?
Дата
Msg-id 20131107175552.GH28314@alap2.anarazel.de
обсуждение исходный текст
Ответ на Re: better atomics  (Andres Freund <andres@2ndquadrant.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Changing pg_dump default file format
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Changing pg_dump default file format