[issue3308] MinGW built extensions do not load (specified procedure cannot be found)

Roger Binns report at bugs.python.org
Mon Jul 7 21:18:52 CEST 2008


Roger Binns <python at rogerbinns.com> added the comment:

In MinGW's defense the MSVC 7 dll does include localtime.  Since
Python/distutils only says that MSVC 9 dll is being used at link time,
how exactly is MinGW (or any other code) supposed to know that localtime
should be provided some other way?  Maybe distutils should be defining 
__MSVCRT_VERSION__ to 0x0900 for the compile phase as well for Python
2.6/3.0.  If that was the case then at least I could work around the
issue (the localtime call isn't actually in my code but a library I
statically link in) and still work correctly on earlier Pythons which
don't need any workarounds.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3308>
_______________________________________


More information about the Python-bugs-list mailing list