From: Konrad H. <hi...@cn...> - 2003-03-17 17:14:58
|
On Monday 17 March 2003 16:05, chr...@ph... wrote: > Is this a typo or do I do something strange? > > with best regards, > > Christiaan Kok > > /* C API address pointer */ > #if defined(NO_IMPORT) || defined(NO_IMPORT_ARRAY) > extern void **PyArray_API; > #else > #if defined(PY_ARRAY_UNIQUE_SYMBOL) > void **PyArray_API /* <--------------------------- semicolon here > removed! */ #else > static void **PyArray_API; > #endif > #endif There should be a semicolon there according to my understanding of C synt= ax! Check the C extension which you are compiling. It very probably defines PY_ARRAY_UNIQUE_SYMBOL to something before including arrayobject.h. I sus= pect=20 that there is something wrong with that definition. Konrad. --=20 -------------------------------------------------------------------------= ------ Konrad Hinsen | E-Mail: hi...@cn... Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------= ------ |