[Gc] RE: ucontext.h deprecation in MacOS 10.6 (was: Compiling gc with gcc-4.2.1)

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Aug 31 12:52:22 PDT 2009


On Mon, Aug 31, 2009 at 9:42 PM, Henning Makholm<makholm at octoshape.com> wrote:
>> Is the patch ok? Shouldn't it read
>>
>> #ifdef NO_GETCONTEXT
>> # include <ucontext.h>
>> #endif
>
> No, that wouldn't make sense. <ucontext.h> is the header that defines
> getcontext() -- if you have NO GETCONTEXT, the header probably won't
> even exist and therefore you should only include it if *not* NO_GETCONTEXT.

I am just having problems with the previous patch and v7.1 of the
garbage collector, because ucontext.h is still getting included.

Juanjo


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com



More information about the Gc mailing list