Author jkloth
Recipients eric.araujo, jkloth, tarek
Date 2012-12-25.18:38:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356460734.84.0.660480375945.issue16779@psf.upfronthosting.co.za>
In-reply-to
Content
The 64-bit linker doesn't mangle the dllexport'ed module init function (from PyMODINIT_FUNC) so it causes an exported name conflict.  We cannot just remove that name from export_symbols as the module may not have used PyMODINIT_FUNC on its init function.

The attached patch "fixes" the problem by suppressing the warning.

I personally would prefer the "pure" approach by assuming that the module initialization function would be required to be declared by PyMODINIT_FUNC and therefore the symbol would not need to be exported on the command line.
History
Date User Action Args
2012-12-25 18:38:54jklothsetrecipients: + jkloth, tarek, eric.araujo
2012-12-25 18:38:54jklothsetmessageid: <1356460734.84.0.660480375945.issue16779@psf.upfronthosting.co.za>
2012-12-25 18:38:54jklothlinkissue16779 messages
2012-12-25 18:38:54jklothcreate