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

David Cournapeau cournape@gmail....
Wed Jun 10 09:38:47 CDT 2009


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.

cheers,

David


More information about the SciPy-user mailing list