Re: LLVM compile failing in seawasp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LLVM compile failing in seawasp
Дата
Msg-id 24644.1564322045@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LLVM compile failing in seawasp  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: LLVM compile failing in seawasp  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> Otherwise, why not simply move llvm C++ includes *before* postgres 
> includes?

We've been burnt in the past by putting other headers before postgres.h.
(A typical issue is that the interpretation of <stdio.h> varies depending
on _LARGE_FILES or a similar macro, so you get problems if something
causes that to be included before pg_config.h has set that macro.)
Maybe none of the platforms where that's an issue have C++, but that
doesn't seem like a great assumption.

> They should be fully independent anyway, so the order should 
> not matter?

On what grounds do you claim that's true anywhere, let alone
everywhere?

            regards, tom lane



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: ANALYZE: ERROR: tuple already updated by self
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add parallelism and glibc dependent only options to reindexdb