Re: Warning during PostgreSQL 9.0.4 libpq.dll build on WinXP+MinGW

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Warning during PostgreSQL 9.0.4 libpq.dll build on WinXP+MinGW
Дата
Msg-id 4DAD7917.3070203@enterprisedb.com
обсуждение исходный текст
Ответ на Warning during PostgreSQL 9.0.4 libpq.dll build on WinXP+MinGW  (Pavel Golub <pavel@microolap.com>)
Список pgsql-hackers
On 19.04.2011 14:09, Pavel Golub wrote:
> Today I built libpq.dll library on Windows XP using MinGW and got one
> warning message:
>
> Pablo@computer /z/pasha/postgresql-9.0.4/src/interfaces/libpq
> $ make
>
> ...
>
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fw
> rapv  -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND
"-I../../../src/
> include/port/win32" -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-connect.o fe-connect.c
> fe-connect.c: In function 'PQconnectPoll':
> fe-connect.c:1533:13: warning: unused variable 'on'
>
> ...
>
> Is it OK?

It's harmless. I just committed a patch to silence it, thanks for the 
report.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Windows 64 bit warnings
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: Windows 64 bit warnings