This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ideasman42
Recipients ideasman42
Date 2011-02-08.03:16:05
SpamBayes Score 7.74647e-07
Marked as misclassified No
Message-id <1297134966.47.0.813239114372.issue11147@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-02-08 03:16:06ideasman42setrecipients: + ideasman42
2011-02-08 03:16:06ideasman42setmessageid: <1297134966.47.0.813239114372.issue11147@psf.upfronthosting.co.za>
2011-02-08 03:16:05ideasman42linkissue11147 messages
2011-02-08 03:16:05ideasman42create