[SciPy-user] Compile Error: error: expected `)' before 'PRIdPTR'

Dr. Loris Bennett loris.bennett at fu-berlin.de
Thu Jun 11 09:24:07 EDT 2009


David Cournapeau <david at ar.media.kyoto-u.ac.jp> writes:

> David Cournapeau wrote:
>> On Wed, Jun 10, 2009 at 10:18 PM, Dr. Loris
>> Bennett<loris.bennett at fu-berlin.de> wrote:
>>   
>>> Hi,
>>>
>>> Anyone had any thoughts on this?
>>>     
>>
>> I guess that inttypes.h (where PRIdPTR is defined in C99) is not
>> correct for C++ on AIX. A hack to fix this for you would be to replace
>> PRIdPTR by 'ld'  in the *numpy* ndarrayobject.h header.
>>   
>
> Sorry, should be "ld", not 'ld'
>
> David

OK, thanks for the help. That did the trick.

-- 
Dr. Loris Bennett
Computer Centre
Freie Universität Berlin
Berlin, Germany




More information about the SciPy-User mailing list