IRIX MipsPro compiler chokes on Python.h

Bram Stolk bram at geenspam.sara.nl
Wed May 25 06:59:03 EDT 2005


Dennis Lee Bieber wrote:
> On Tue, 24 May 2005 13:20:01 +0200, Bram Stolk <bram at geenspam.sara.nl>
> declaimed the following in comp.lang.python:
> 
> 
>>$ cat l.cxx
> 
> 
> 	Isn't ".cxx" a "C++" indicator? I think Python is just plain C,
> so you'd have to wrap everything to indicate C style naming in the
> compiler output.

extern "C"
{
#include <Python.h>
}

...gives the same result.

   Bram

> 



More information about the Python-list mailing list