Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aHIvk-0002nD-N2 for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Jan 2016 22:21:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aHIvj-0005VM-Gs for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Jan 2016 22:21:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aHIvh-0005Tk-J0 for pgsql-hackers@postgresql.org; Thu, 07 Jan 2016 22:21:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aHIve-0007e1-JY for pgsql-hackers@postgresql.org; Thu, 07 Jan 2016 22:21:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u07ML7u5012891; Thu, 7 Jan 2016 17:21:08 -0500 From: Tom Lane To: Alvaro Herrera cc: pgsql-hackers@postgresql.org Subject: Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status In-reply-to: <20160107215009.GA500188@alvherre.pgsql> References: <20160107215009.GA500188@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 07 Jan 2016 18:50:09 -0300" Date: Thu, 07 Jan 2016 17:21:07 -0500 Message-ID: <12890.1452205267@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers