New submission from Campbell Barton <ideasma...@gmail.com>: 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 ---------- messages: 128165 nosy: ideasman42 priority: normal severity: normal status: open title: _Py_ANNOTATE_MEMORY_ORDER has unused argument, effects code which includes Python.h type: compile error versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com