Web lists-archives.com

[Mingw-users] localtime() and MSVCRT9




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Context: http://bugs.python.org/issue3308

The underlying issue is that MSVCRT version 9 does not have the
localtime symbol (earlier releases do).

However the current stable MinGW happily thinks that the symbol is
present at link time which then causes a load failure at run time.

Also how is MinGW supposed to be told at compile time which MSVCRT
version is being used.  Python currently only tells it at link time with
- -lmsvcr90.  Should it also be defining something like __MSVCRT_VERSION__
at compile time?

(That definition can then be used to provide an alternative to localtime).

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIcq+5mOOfHg372QQRAiNtAKCdLjhExU26OLr3ymhNgGcCg5GRWQCgywSQ
rRnpem0e0/TqNG5UK0fVTmM=
=m8RZ
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users