Re: [HACKERS] Compilation errors with mingw build caused by undefined optreset

2014-05-08 Thread Michael Paquier
On Fri, May 9, 2014 at 12:30 AM, Tom Lane wrote: > Michael Paquier writes: >> Since commit 60ff2fd introducing the centralizated getopt-related >> things in a global header file, build on Windows with mingw is failing > > Hm, buildfarm member narwhal doesn't seem to be having any such problem. >

Re: [HACKERS] Compilation errors with mingw build caused by undefined optreset

2014-05-08 Thread Michael Paquier
On Fri, May 9, 2014 at 12:55 AM, Andrew Dunstan wrote: > On 05/08/2014 11:30 AM, Tom Lane wrote: >> Michael Paquier writes: >>> >>> Since commit 60ff2fd introducing the centralizated getopt-related >>> things in a global header file, build on Windows with mingw is failing >> >> Hm, buildfarm memb

Re: [HACKERS] Compilation errors with mingw build caused by undefined optreset

2014-05-08 Thread Andrew Dunstan
On 05/08/2014 11:30 AM, Tom Lane wrote: Michael Paquier writes: Since commit 60ff2fd introducing the centralizated getopt-related things in a global header file, build on Windows with mingw is failing Hm, buildfarm member narwhal doesn't seem to be having any such problem. (It's got its own i

Re: [HACKERS] Compilation errors with mingw build caused by undefined optreset

2014-05-08 Thread Tom Lane
Michael Paquier writes: > Since commit 60ff2fd introducing the centralizated getopt-related > things in a global header file, build on Windows with mingw is failing Hm, buildfarm member narwhal doesn't seem to be having any such problem. (It's got its own issues, but not this.) Do you think you

[HACKERS] Compilation errors with mingw build caused by undefined optreset

2014-05-07 Thread Michael Paquier
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: e