Snow Leopard

Hmm… more trouble…

g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/pipeline_composite.o -I"/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Python.framework/Headers" -I"built/tmp" -I"built/include" -Ipanda/src/pipeline -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch x86_64   -O2 -DBUILDING_PANDA panda/src/pipeline/pipeline_composite.cxx
In file included from panda/src/pipeline/contextSwitch.h:38,
                 from panda/src/pipeline/threadSimpleImpl.h:26,
                 from panda/src/pipeline/mutexSimpleImpl.h:24,
                 from panda/src/pipeline/mutexTrueImpl.h:38,
                 from panda/src/pipeline/mutexDebug.h:19,
                 from panda/src/pipeline/pmutex.h:19,
                 from panda/src/pipeline/conditionVarDebug.h:19,
                 from panda/src/pipeline/conditionVar.h:19,
                 from panda/src/pipeline/conditionVar.cxx:15,
                 from panda/src/pipeline/pipeline_composite1.cxx:1,
                 from panda/src/pipeline/pipeline_composite.cxx:1:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined
Storing dependency cache.
Elapsed Time: 5 sec

make: *** [all] Error 1

[edit]
Added the -D_XOPEN_SOURCE compiler directive. Seems to work.
[/edit]