Re: Headers dependencies cleanup - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: Headers dependencies cleanup
Date
Msg-id 20080407205339.GD5095@alvh.no-ip.org
Whole thread Raw
In response to Re: Headers dependencies cleanup  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List 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 by date:

Previous
From: David Fetter
Date:
Subject: Re: Database owner installable modules patch
Next
From: Andrew Dunstan
Date:
Subject: Re: Headers dependencies cleanup