delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46C7C573.2000100@users.sourceforge.net> |
Date: | Sat, 18 Aug 2007 23:22:11 -0500 |
From: | "Yaakov (Cygwin Ports)" <yselkowitz AT users DOT sourceforge DOT net> |
User-Agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: python module patch |
References: | <46C6CE48 DOT 10004 AT x-ray DOT at> |
In-Reply-To: | <46C6CE48.10004@x-ray.at> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Reini Urban wrote: > extern __declspec(dllexport) cannot be used as constant during > compile-time. > => "initializer element is not constant" > cygwin auto-import feature get's that right at link-time. > > This is needed for the constant (compile-time) resolution of > PyObject_HEAD_INIT(&PyType_Type) in a typical PyTypeObject struct. I believe the commonly accepted solution is to change this to PyObject_HEAD_INIT(NULL) in the struct. http://starship.python.net/crew/mwh/toext/node20.html Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGx8VzpiWmPGlmQSMRCLlxAKCCTgwgX9MjeFYKP8TZzuGx0wuOFgCeLaQl g3scbbc36HcUr6u8uLFnZkU= =/p7G -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |