Re: Warning is adjusted of pgbench. - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: Warning is adjusted of pgbench.
Date
Msg-id 20070807080624.GA1839@svr2.hagander.net
Whole thread Raw
In response to Warning is adjusted of pgbench.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Responses Re: Warning is adjusted of pgbench.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Tue, Aug 07, 2007 at 04:58:19PM +0900, Hiroshi Saito wrote:
> Hi Magnus.
>
> pgbench.c: In function `main':
> pgbench.c:1257: warning: implicit declaration of function `getopt'
>
> adjustment of some reference is required for this.
> and this is a FRONTEND program.
> patch is smooth at VC8 and MinGW (gcc).

Hi!

Why do you need to #undef EXEC_BACKEND, and is there a specific reason for
removing the include of win32.h?

//Magnus

pgsql-patches by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Warning is adjusted of pgbench.
Next
From: "Hiroshi Saito"
Date:
Subject: Re: Warning is adjusted of pgbench.