Warning during PostgreSQL 9.0.4 libpq.dll build on WinXP+MinGW
Hello, Pgsql-hackers.
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?
--
With best wishes,
Pavel mailto:pavel@gf.microolap.com
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