When trying to compile python extensions written in C using "python
setup.py build" on cygwin I get the following error:

foo.c: initializer element is not constant
foo.c: error: (near initialization for `FooType.ob_type')

I remember someone telling me a long time ago that this had something
to do with declspec and how dlls are imported on cygwin/python.  Can
someone give me a pointer to how to build python extensions on cygwin?

Thanks

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to