Getting rid of warnings

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Getting rid of warnings
Дата
Msg-id 20070125134414.GF27011@svr2.hagander.net
обсуждение исходный текст
Ответы Re: Getting rid of warnings  (Peter Eisentraut <peter_e@gmx.net>)
Re: Getting rid of warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Getting rid of warnings  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
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.


Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pg_dumpall -f option
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Getting rid of warnings