Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
Date: 2016-01-07 22:21:07
Message-ID: 12890.1452205267@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> I confirmed that adding that line makes the new file get compiled. I
> also noticed these warnings when compiling it:

> In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.9-win32/include/stdarg.h:1:0,
> from /pgsql/source/master/src/include/c.h:85,
> from /pgsql/source/master/src/include/postgres_fe.h:25,
> from /pgsql/source/master/src/port/win32security.c:17:
> /pgsql/source/master/src/port/win32security.c: In function log_error:
> /pgsql/source/master/src/port/win32security.c:37:11: warning: passing argument 1 of __builtin_va_start from incompatible pointer type
> va_start(fmt, ap);
> ^

I take it this code is quite untested, because what that's whining
about is that the arguments of va_start() are reversed.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-01-07 22:36:49 pgsql: Fix one more TAP test to use standard command-line argument orde
Previous Message Alvaro Herrera 2016-01-07 21:51:47 pgsql: Add win32security to LIBOBJS

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2016-01-07 22:51:42 Re: Proposal: Generic WAL logical messages
Previous Message Joshua D. Drake 2016-01-07 21:57:37 Re: No Issue Tracker - Say it Ain't So!