pgsql: Squelch some VC++ compiler warnings.

From: neilc(at)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Squelch some VC++ compiler warnings.
Date: 2007-01-26 17:45:42
Message-ID: 20070126174542.5EA789FA4D4@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Squelch some VC++ compiler warnings. Mark float literals with the "f"
suffix, to distinguish them from doubles. Make some function declarations
and definitions use the "const" qualifier for arguments consistently.
Ignore warning 4102 ("unreferenced label"), because such warnings
are always emitted by bison-generated code. Patch from Magnus Hagander.

Modified Files:
--------------
pgsql/contrib/intarray:
_int.h (r1.11 -> r1.12)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/intarray/_int.h.diff?r1=1.11&r2=1.12)
pgsql/contrib/pg_trgm:
trgm_op.c (r1.5 -> r1.6)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_trgm/trgm_op.c.diff?r1=1.5&r2=1.6)
pgsql/contrib/tsearch2:
rank.c (r1.21 -> r1.22)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/rank.c.diff?r1=1.21&r2=1.22)
pgsql/src/include:
pg_config.h.win32 (r1.39 -> r1.40)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.win32.diff?r1=1.39&r2=1.40)
pgsql/src/interfaces/libpq:
fe-secure.c (r1.90 -> r1.91)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-secure.c.diff?r1=1.90&r2=1.91)
libpq-int.h (r1.117 -> r1.118)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/libpq-int.h.diff?r1=1.117&r2=1.118)
pgsql/src/timezone:
ialloc.c (r1.7 -> r1.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/timezone/ialloc.c.diff?r1=1.7&r2=1.8)
zic.c (r1.19 -> r1.20)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/timezone/zic.c.diff?r1=1.19&r2=1.20)
pgsql/src/tools/msvc:
Project.pm (r1.7 -> r1.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Project.pm.diff?r1=1.7&r2=1.8)
mkvcbuild.pl (r1.11 -> r1.12)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/mkvcbuild.pl.diff?r1=1.11&r2=1.12)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-01-26 20:06:52 pgsql: On Windows, use pgwin32_waitforsinglesocket() instead of select()
Previous Message Bruce Momjian 2007-01-25 23:34:28 pgsql: Update BSD/OS platform for 8.2.