Re[2]: [Gc]: garbage collection on OSX Snow Leopard.

Ivan Maidanski ivmai at
Mon Oct 19 22:06:18 PDT 2009

"Boehm, Hans" <hans.boehm at> wrote:
> This should be fixed in the CVS version.
> Hans

Should I simply add ifndef/define _XOPEN_SOURCE before every include ucontext.h?

> From: gc-bounces at [mailto:gc-bounces at] On Behalf Of Robert Love
> Sent: Monday, October 19, 2009 8:11 PM
> To: gc at
> Subject: [Gc] garbage collection on OSX Snow Leopard.
> It was suggested that  I report here the problems I'm having with building Asymptote on OSX 10.6.
> In file included from mach_dep.c:163:
> /usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined
> make[2]: *** [mach_dep.lo] Error 1
> make[1]: *** [check-recursive] Error 1
> Is there a way to refine the GC to be compatible with OSX?


More information about the Gc mailing list