Re: Warning is adjusted of pgbench.
От | Hiroshi Saito |
---|---|
Тема | Re: Warning is adjusted of pgbench. |
Дата | |
Msg-id | 014201c7d8ca$681e2d30$c601a8c0@HP22720319231 обсуждение исходный текст |
Ответ на | Warning is adjusted of pgbench. ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>) |
Ответы |
Re: Warning is adjusted of pgbench.
|
Список | pgsql-patches |
Hi. Magnus $ make gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -I../../src/interfaces/libpq -I. -I../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../src/include/port/win32" -c -o pgbench.o pgbench.c gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing pgbench.o -L../../src/port -lpgport -L../../src/interfaces/libpq -lpq -L../../src/port -Wl,--allow-multiple-definition -lpgport -lm -lws2_32 -lshfolder -o pgbench I put in in order to avoid -D of the Makefile. Regards, Hiroshi Saito > 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 по дате отправления: