Re: [exim-dev] [Valgrind-users] [Bug 1050] [PATCH] Portabili…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: David Woodhouse
CC: valgrind-users, Bart Van Assche, dot, exim-dev, Chris Thompson, Steen Hammerum
Tárgy: Re: [exim-dev] [Valgrind-users] [Bug 1050] [PATCH] Portability fixes for memcheck.h.
On Wed, 12 Jan 2011, David Woodhouse wrote:

> On Wed, 2011-01-12 at 14:28 +0000, Tony Finch wrote:
> > On Wed, 12 Jan 2011, David Woodhouse wrote:
> > >
> > > Can we turn the ({ ... }) extension into a static inline function? Or is
> > > that not sufficiently portable either?
> >
> > No, nested functions are not allowed in standard C.
>
> Nested?


Sorry I thought you meant putting the function definition in the macro.

Tony.
--
f.anthony.n.finch <dot@???> http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.