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

Dr. Loris Bennett loris.bennett@fu-berlin...
Thu Jun 11 08:24:07 CDT 2009

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

> David Cournapeau wrote:
>> On Wed, Jun 10, 2009 at 10:18 PM, Dr. Loris
>> Bennett<loris.bennett@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