Re: ECPG interface: 7.4beta3 compile failure; CVS tip compile failure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ECPG interface: 7.4beta3 compile failure; CVS tip compile failure
Дата
Msg-id 1078.1063909539@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ECPG interface: 7.4beta3 compile failure; CVS tip compile failure  (Oliver Elphick <olly@lfix.co.uk>)
Ответы Re: ECPG interface: 7.4beta3 compile failure; CVS tip  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-hackers
Oliver Elphick <olly@lfix.co.uk> writes:
> Line 138 begins the definition of strndup().  However, strndup() is also
> declared in string.h, which is included by this file.  If I rename this
> function to estrndup() (and also where it is called, further down) the
> compilation succeeds.

Hm, is strndup defined as a macro in your string.h?  I suspect it's not
a good idea to be providing a local definition of something that might
be considered a standard function.
        regards, tom lane


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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Killing the backend to cancel a long waiting query
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: ECPG interface: 7.4beta3 compile failure; CVS tip