Re: IRIX MipsPro compiler chokes on Python.h
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: IRIX MipsPro compiler chokes on Python.h

From: Bram Stolk <bram@geenspam.sara.nl>
Date: Wed May 25 2005 - 12:59:03 CEST

Dennis Lee Bieber wrote:
> On Tue, 24 May 2005 13:20:01 +0200, Bram Stolk <bram@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

>
Received on Thu Sep 29 16:13:40 2005