Message128165
Hi, Im buildiong blender3d with -Werror and python 3.2 gives an error which doesnt happen in 3.1.
Tested with SVN r88378. on linux.
---
cc1: warnings being treated as errors
In file included from /opt/py32/include/python3.2d/Python.h:52:0,
from /data/src/blender/blender/source/blender/python/intern/bpy_app.h:27,
from /data/src/blender/blender/source/blender/python/intern/bpy_app.c:25:
/opt/py32/include/python3.2d/pyatomic.h: In function '_Py_ANNOTATE_MEMORY_ORDER':
/opt/py32/include/python3.2d/pyatomic.h:59:48: error: unused parameter 'address'
There are 2 ways to solve this:
pyatomic.h could include the line:
(void)address;
Or the macro's which do nothing could be changed from...
#define _Py_ANNOTATE_HAPPENS_BEFORE(blah) /* empty */
to...
#define _Py_ANNOTATE_HAPPENS_BEFORE(blah) (void)blah |
|
Date |
User |
Action |
Args |
2011-02-08 03:16:06 | ideasman42 | set | recipients:
+ ideasman42 |
2011-02-08 03:16:06 | ideasman42 | set | messageid: <1297134966.47.0.813239114372.issue11147@psf.upfronthosting.co.za> |
2011-02-08 03:16:05 | ideasman42 | link | issue11147 messages |
2011-02-08 03:16:05 | ideasman42 | create | |
|