Re: Getting rid of warnings

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Getting rid of warnings
Дата
Msg-id 200701251953.l0PJrB608224@momjian.us
обсуждение исходный текст
Ответ на Getting rid of warnings  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Getting rid of warnings  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: setlocal to build.bat
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Getting rid of warnings