Skip site navigation (1) Skip section navigation (2)

Re: Getting rid of warnings

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Getting rid of warnings
Date: 2007-01-25 19:53:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
I need an updated version of this to apply.  The suggested changes are
too extensive.


Magnus Hagander wrote:
> Attached patch gets rid of most of the remaining warnings on a VC++
> build. Summary is:
> * A bunch of places that had different const specifyer in the header and
>   in the body of the function. (contrib/intarray, src/timezone)
> * 1.2 and such constants are double and cause warning. Define as floats
>   (contrib/pg_trgm and contrib/tsearch2)
> * HAVE_STRERROR is defined by python, so only conditionally redefine it
>   in pg_config.h
> * NULL function pointer in SSL call cast to the correct pointer type
> * ssize_t is defined in pg_config_os.h, remove from libpq-int.h
> * Always skip warning 4102 ("label nnn: unreferenced label") caused by
>   bison.
> * Support for ignoring linker warnings, and ignore the warning about
>   PRIVATE on DllRegisterServer. Can't fix properly because PRIVATE is
>   not supported by mingw.

[ Attachment, skipping... ]

> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>        message can get through to the mailing list cleanly

  Bruce Momjian   bruce(at)momjian(dot)us

  + If your life is a hard drive, Christ can be your backup. +

In response to


pgsql-patches by date

Next:From: Magnus HaganderDate: 2007-01-25 19:56:27
Subject: Re: Getting rid of warnings
Previous:From: Bruce MomjianDate: 2007-01-25 19:50:19
Subject: Re: setlocal to build.bat

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group