| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
|---|---|
| To: | Pavel Golub <pavel(at)gf(dot)microolap(dot)com> |
| Cc: | Pavel Golub <pavel(at)microolap(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Warning during PostgreSQL 9.0.4 libpq.dll build on WinXP+MinGW |
| Date: | 2011-04-19 11:59:19 |
| Message-ID: | 4DAD7917.3070203@enterprisedb.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Meskes | 2011-04-19 13:44:14 | Re: Windows 64 bit warnings |
| Previous Message | Andrew Dunstan | 2011-04-19 11:45:43 | Re: Windows 64 bit warnings |