Fri Nov 25 10:49:04 2011: Request 72726 was acted upon. Transaction: Correspondence added by mark.doot...@znix.com Queue: Wx Subject: Re: [rt.cpan.org #72726] -D_USE_32BIT_TIME_T mismatch between Wx and Alien::wxWidgets Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: derhoe...@gmx.net Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72726 >
Hi, -D_USE_32BIT_TIME_T is part of ActivePerl configuration ( see perl -V:ccflags ) so this gets used building all Perl modules. Currently Alien::wxWidgets does not pass all Perl flags to the wxWidgets build (most are irrelevant there). I assume by 'current version' you mean wxWidgets development versions 2.9.x and not the stable version 2.8.12? The next development version (2.9.3) is due for a release in early December by which time a new Alien::wxWidgets should have been released. I'm assuming the fix will be to add -D_USE_32BIT_TIME_T to the wxWidgets build. Regards Mark On 25/11/2011 15:21, Bjoern Hoehrmann via RT wrote: > Fri Nov 25 10:21:26 2011: Request 72726 was acted upon. > Transaction: Ticket created by derhoe...@gmx.net > Queue: Wx > Subject: -D_USE_32BIT_TIME_T mismatch between Wx and Alien::wxWidgets > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: derhoe...@gmx.net > Status: new > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=72726> > > > 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,