> I think it's related to unaligned access. option->dest ist a void > pointer which is casted to various larger types. On Sparcs and other > architectures (not x86) you produce a bus error if you write int or > float etc. to an unaligned memory region.
I fought a similar problem on an ARM recently. In a structure with #pragma pack(1) ( don't ask ;-) ) you could access all the members ok, but if you took a pointer to it then accessed the pointer it would crash. Why Microsoft generate code to handle the misalignment in one case but not another I don't know ( or warn you about taking a pointer to a misaligned member ). Please no MS bashing, loads of people have written bad compilers before. Phill _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame
