[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] [Chicken-bugs] #437: pyffi has incorrect declarations
From: |
Chicken Scheme |
Subject: |
[Chicken-janitors] [Chicken-bugs] #437: pyffi has incorrect declarations for Python 2.5 |
Date: |
Wed, 11 Jun 2008 02:22:55 -0000 |
#437: pyffi has incorrect declarations for Python 2.5
------------------------+---------------------------------------------------
Reporter: kon | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: extensions | Version:
Keywords: Python |
------------------------+---------------------------------------------------
A quick look at Python 2.4 headers matches the "pyffi-support.scm" but not
2.5 (at least for me).
Attempted build w/ MacOS 10.5.3, Python 2.5:
pyffi-support.c: In function ‘pyffi_PyUnicode_AsUnicode’:
pyffi-support.c:46: warning: return from incompatible pointer type
pyffi-support.c: In function ‘pyffi_PyUnicode_FromUnicode’:
pyffi-support.c:50: warning: passing argument 1 of
‘PyUnicodeUCS2_FromUnicode’ from incompatible pointer type
pyffi-support.c: At top level:
pyffi-support.c:118: error: conflicting types for ‘PyDict_Size’
/System/Library/Frameworks/Python.framework/Headers/dictobject.h:108:
error: previous declaration of ‘PyDict_Size’ was here
pyffi-support.c:142: error: conflicting types for ‘PyList_New’
/System/Library/Frameworks/Python.framework/Headers/listobject.h:46:
error: previous declaration of ‘PyList_New’ was here
pyffi-support.c:143: error: conflicting types for ‘PyList_Size’
/System/Library/Frameworks/Python.framework/Headers/listobject.h:47:
error: previous declaration of ‘PyList_Size’ was here
pyffi-support.c:144: error: conflicting types for ‘PyList_GetItem’
/System/Library/Frameworks/Python.framework/Headers/listobject.h:48:
error: previous declaration of ‘PyList_GetItem’ was here
pyffi-support.c:145: error: conflicting types for ‘PyList_SetItem’
/System/Library/Frameworks/Python.framework/Headers/listobject.h:49:
error: previous declaration of ‘PyList_SetItem’ was here
pyffi-support.c:164: error: conflicting types for ‘PyTuple_New’
/System/Library/Frameworks/Python.framework/Headers/tupleobject.h:39:
error: previous declaration of ‘PyTuple_New’ was here
pyffi-support.c:165: error: conflicting types for ‘PyTuple_Size’
/System/Library/Frameworks/Python.framework/Headers/tupleobject.h:40:
error: previous declaration of ‘PyTuple_Size’ was here
pyffi-support.c:166: error: conflicting types for ‘PyTuple_GetItem’
/System/Library/Frameworks/Python.framework/Headers/tupleobject.h:41:
error: previous declaration of ‘PyTuple_GetItem’ was here
pyffi-support.c:167: error: conflicting types for ‘PyTuple_SetItem’
/System/Library/Frameworks/Python.framework/Headers/tupleobject.h:42:
error: previous declaration of ‘PyTuple_SetItem’ was here
--
Ticket URL: <http://trac.callcc.org/ticket/437>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler
- [Chicken-janitors] [Chicken-bugs] #437: pyffi has incorrect declarations for Python 2.5,
Chicken Scheme <=