Re: Unused header file inclusion

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Unused header file inclusion
Дата
Msg-id 20190819211819.GA4374@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Unused header file inclusion  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2019-Aug-19, Andres Freund wrote:

> > I wish we could move the whole logic of those scripts into makefiles, so
> > we could employ parallelism.
> 
> Hm. Perhaps the way to do that would be to use gcc's -include to include
> postgres.h, and use -Wc++-compat to detect c++ issues, rather than using
> g++. Without tempfiles it ought to be a lot easier to just do all of the
> relevant work in make, without a separate shell script.

I used to have this:
https://postgr.es/m/1293469595-sup-1462@alvh.no-ip.org
Not sure how much this helps, since it's a shell line in make, so not
very paralellizable.  And you still have to build the exclusions
somehow.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: POC: Cleaning up orphaned files using undo logs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unused header file inclusion