Compilation errors with mingw build caused by undefined optreset

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Compilation errors with mingw build caused by undefined optreset
Дата
Msg-id CAB7nPqQNW_mvy2_8gXe+FygCW28eRRFP-FU1Z_PnQO1MjsA0KA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Compilation errors with mingw build caused by undefined optreset  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi all,

Since commit 60ff2fd introducing the centralizated getopt-related
things in a global header file, build on Windows with mingw is failing
because of some declarations of HAVE_INT_OPTRESET causing optreset to
become undefined:
postmaster.c: In function 'PostmasterMain':
postmaster.c:853:2: error: 'optreset' undeclared (first use in this function)
postmaster.c:853:2: note: each undeclared identifier is reported only
once for each function it appears in

This failure is new with 9.4, and attached is a patch fixing it...
Regards,
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: popen and pclose redefinitions causing many warning in Windows build
Следующее
От: Michael Paquier
Дата:
Сообщение: Ignore files in src/interfaces/libpq generated by windows builds