From: Robert M. <rob...@us...> - 2008-01-30 17:33:55
|
On 30/01/2008, Jeremy White <jez...@ho...> wrote: > > After further investigation I have submitted the following perlbug report: > > > > http://rt.perl.org/rt3/Public/Bug/Display.html?id=50386 > > > > which is also tracked by ActiveState here: > > > > http://bugs.activestate.com/show_bug.cgi?id=74532 > > > > As this looked so serious I downloaded 5.10.0 (1002) to test this and I can see what you see. > This is a major problem in general, not just for Win32::GUI (my own XS modules fail their > test suit due to this issue). Jan (ActiveState) confirmed and explained the problem (follow the rt.perl.org link above). > Looks like I wont be upgrading to 5.10 any time soon:) Turns out there is a simple solution - add the -mms_bitfields option to your cflags to get gcc to use the same bitfield-alignment as MSVC. I've submitted a patch to ActiveState, which I hope will make it into their next build. In the meantime be *VERY* wary of any modules for ActiveState 5.10 that are built with gcc. Regards, Rob. |