[New-bugs-announce] [issue15782] Compile error for a number of Mac modules with recent Xcode

Ronald Oussoren report at bugs.python.org
Sat Aug 25 12:05:30 CEST 2012


New submission from Ronald Oussoren:

Recent versions of Xcode on OSX 10.7 and 10.8 fail to compile 3 of the extension modules in Mac/Modules: the modules for fm, qd and qdoffs.

That's because those extensions wrap APIs that are long deprecated and are no longer present.

The attached patch "fixes" the miscompilation by making most of the body of the extension empty when compiling with the 10.7 (or later) SDK.

This changes the API of these extension modules, but that cannot be helped because the platform APIs that are wrapped by these extensions are no longer present.

(Patch is not relevant for python 3.x because these extensions have been removed in python 3.0)

----------
assignee: ronaldoussoren
components: Build, Macintosh
files: miscompile-mac-modules.txt
keywords: needs review
messages: 169123
nosy: ned.deily, ronaldoussoren
priority: normal
severity: normal
stage: patch review
status: open
title: Compile error for a number of Mac modules with recent Xcode
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file26993/miscompile-mac-modules.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15782>
_______________________________________


More information about the New-bugs-announce mailing list