Re: Getting rid of warnings - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Getting rid of warnings
Date
Msg-id 200701251953.l0PJrB608224@momjian.us
Whole thread Raw
In response to Getting rid of warnings  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Getting rid of warnings  (Magnus Hagander <magnus@hagander.net>)
List 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@postgresql.org so that your
>        message can get through to the mailing list cleanly

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: setlocal to build.bat
Next
From: Magnus Hagander
Date:
Subject: Re: Getting rid of warnings