pyrex error

Gerhard Häring gh at
Sat Aug 2 21:47:30 CEST 2003

Bryan wrote:
> [PyRex produces code using staticforward that won't work in the combination Python 2.3/MSVC]

1) Please don't top-post.

2) The other way to temporarily solve this problem is to use MINGW 
instead of MSVC.

In the PySQLite sources, I added this snippet on top:

#ifdef _MSC_VER
#define staticforward extern

to make it compilable under MSVC/Python 2.3. *After* #include-ing 
"Pyhton.h" of course.

-- Gerhard

More information about the Python-list mailing list