Re: Raising our compiler requirements for 9.6

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Raising our compiler requirements for 9.6
Дата
Msg-id CA+TgmoZHy6P4PFbMQCd_ALeY73Sc_m_qiFbtM6Hh9U4Ch8sOiQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Raising our compiler requirements for 9.6  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, Aug 17, 2015 at 12:36 PM, Andres Freund <andres@anarazel.de> wrote:
> On 2015-08-17 12:30:56 -0400, Robert Haas wrote:
>> - The possibility that may repeatedly break #define FRONTEND
>> compilation when we add static inline functions, where instead adding
>> macros would not have caused breakage, thus resulting in continual
>> tinkering with the header files.
>
> Again, that's really independent. Inlines have that problem, even with
> STATIC_IF_INLINE. C.f. MemoryContextSwitch() and a9baeb361d.

Inlines, yes, but macros don't.

I'm not saying we shouldn't do this, but I *am* saying that we need to
be prepared to treat breaking FRONTEND compilation as a problem, not
just today and tomorrow, but way off into the future.  It's not at all
a stretch to think that we could still be hitting fallout from these
changes in 2-3 years time.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Configure with thread sanitizer fails the thread test
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Test code is worth the space