Re: pgsql: Fix for globals.c- c.h must come first

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Fix for globals.c- c.h must come first
Дата
Msg-id 20180619175834.GE3637@momjian.us
обсуждение исходный текст
Ответ на pgsql: Fix for globals.c- c.h must come first  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: pgsql: Fix for globals.c- c.h must come first  (Andres Freund <andres@anarazel.de>)
Re: pgsql: Fix for globals.c- c.h must come first  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On Sat, May 19, 2018 at 01:20:47AM +0000, Stephen Frost wrote:
> Fix for globals.c- c.h must come first
> 
> Commit da9b580 mistakenly put a system header before postgres.h (which
> includes c.h).  That can cause portability issues and broke (at least)
> builds with older Windows compilers.

I assume there is no way to add defined and checks to globals.c and c.h
to cause a compile error when this happens.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: explain use of json_populate_record{set}()
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Fix for globals.c- c.h must come first