Re: Headers dependencies cleanup

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Headers dependencies cleanup
Дата
Msg-id 20080407205339.GD5095@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Headers dependencies cleanup  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-patches
Zdenek Kotala wrote:
> Alvaro Herrera napsal(a):
>> Zdenek Kotala wrote:
>>
>>> PS: Is there any reason to do not start to use inline functions
>>> instead of macros in some cases?
>>
>> Not all compilers like (== support) inline macros apparently.
>
> Is it your assumption or do you mean some specific compiler? IIRC, inline
> is defined in C99 and my assumption :-) is that it should be supported by
> all compilers today. I try to look on buildmachine, There should be some
> useful configure output.

We have some defensive coding for compilers that do not support it, for
example on pg_list.h ...  I have no idea if there's a compiler in actual
use that needs this.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Database owner installable modules patch
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Headers dependencies cleanup