>> 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.

Tested with the -mms_bitfields option and the problem goes away. All my XS 
modules now pass their tests.

Good find.

Cheers,

jez.
_________________________________________________________________
Who's friends with who and co-starred in what?
http://www.searchgamesbox.com/celebrityseparation.shtml
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Perl-Win32-GUI-Hackers mailing list
Perl-Win32-GUI-Hackers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers
http://perl-win32-gui.sourceforge.net/

Reply via email to