Re: C++ User-defined functions

Поиск
Список
Период
Сортировка
От 3dmashup
Тема Re: C++ User-defined functions
Дата
Msg-id 1281540487156-2472055.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: C++ User-defined functions  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
This information is correct  the header file  libintl.h is NOT  included in
the binary distro.
For a workaround, you can  create an empty libintl.h file in local header
directory and add that dir to the include path.

When compilinga server side C function with VS2010  or VS2005

The struct  redefiniition is due to  itimerval being defined both  in

include/port/win32.h

and


include/pg_config_os.h

IS this just a matter of getting the order of header includes right?
Or should both files be included?
Or should a struct be defined in both place?

Anyway commenting out the struct  defintion in pg_config_os.h works as a
quick fix hack..

It would be good to know what the right approach is.

Cheers Tim
--
View this message in context: http://postgresql.1045698.n5.nabble.com/C-User-defined-functions-tp1911904p2472055.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: 3dmashup
Дата:
Сообщение: Re: C++ User-defined functions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: InitDB: Bad system call