[Bf-committers] Linux build error: svn 35825

Campbell Barton ideasman42 at gmail.com
Mon Mar 28 13:44:27 CEST 2011


This is used by a macro to check if python interpreter is active:
#define PYC_INTERPRETER_ACTIVE
(((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current)) !=
NULL)

Py 3.1 works a bit differently, you could just check if
PyThreadState_GET() is not NULL, in py3.2 that aborts blender so I had
to look at pythons source.

On Sun, Mar 27, 2011 at 8:58 PM, Richard Shaw <hobbes1069 at gmail.com> wrote:
> Here's the error:
> error: /builddir/build/SPECS/blender.spec:153: parseExpressionBoolean returns -1
> /builddir/build/BUILD/blender-2.56.svn35825/source/blender/python/generic/py_capi_utils.c:61:2:
> error: implicit declaration of function '_Py_atomic_load_relaxed'
>
> Richard
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list