Subject: | -D_USE_32BIT_TIME_T mismatch between Wx and Alien::wxWidgets |
Date: | Fri, 25 Nov 2011 16:21:19 +0100 |
To: | bug-wx [...] rt.cpan.org |
From: | Bjoern Hoehrmann <derhoermi [...] gmx.net> |
Hi,
Current versions of Alien::wxWidgets and Wx and WxWidgets do not work
together on Windows with ActiveState Perl and Visual Studio >= 2005. In
particular, the Wx module does not link because it cannot find some of
the logging functions like DoLogString exported, which is due to a type
error, for some reason Wx is compiled with -D_USE_32BIT_TIME_T while the
Alien::wxWidget module isn't, so the time_t parameter there is exported
as 64bit but imported as 32bit. When -D_USE_32BIT_TIME_T is removed from
the Makefile it links fine and passes the test suite. I don't understand
the build system well enough to tell where -D_USE_32BIT_TIME_T is from
and why Alien::wxWidgets doesn't end up using it when compiling.
regards,
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/