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

David Cournapeau david at ar.media.kyoto-u.ac.jp
Wed Jun 10 10:22:31 EDT 2009


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



More information about the SciPy-User mailing list