[Pythonmac-SIG] PyObjC Article at O'Reilly
Pascal Oberndoerfer
p.oberndoerfer@urheberrecht.org
Fri, 07 Feb 2003 20:05:47 +0100
Bill Bumgarner at bbum@codefab.com:
>> http://www.macdevcenter.com/pub/a/mac/2003/01/31/pyobjc_one.html
I tried to install PyObjC from the sources for MacOS X 10.1.5 via the usual
"python setup.py install". Unfortunately this failed with the following
error message:
> Modules/objc/register.m:12: warning: function declaration isn't a prototype
> Modules/objc/register.m: In function `meth_imp_679':
> Modules/objc/register.m:55957: parse error before `const'
> Modules/objc/register.m:55959: `errstr' undeclared (first use in this
> function)
> Modules/objc/register.m:55959: (Each undeclared identifier is reported only
> once
> Modules/objc/register.m:55959: for each function it appears in.)
> Modules/objc/register.m: In function `ObjC_RegisterStdStubs':
> Modules/objc/register.m:56720: warning: passing arg 2 of pointer to function
> from incompatible pointer type
> error: command 'cc' failed with exit status 1
I don't know why this could possibly happen (even after looking at
Modules/objc/register.m). Anybody knows about compatibility issues? Any
other suggestions?
Thank you.
Pascal