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

David Cournapeau david@ar.media.kyoto-u.ac...
Wed Jun 10 09:22:31 CDT 2009


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


More information about the SciPy-user mailing list