[Mono-devel-list] loader.h portability patch
Bernie Solomon
bernard at ugsolutions.com
Mon Aug 18 18:10:43 EDT 2003
The interpreter changes for synchronized methods have shown up a portability
problem in the wrapper type of a method. It is a defined as an enum which
gets sign extended at least with the HP compiler (the synchronized type
value has the top bit set hence showing up...).
This patch makes the field unsigned removing the undefined behaviour of enum
bitfields.
Bernie Solomon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: loader.h.diffs.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030818/02f26c6d/attachment.txt
More information about the Mono-devel-list
mailing list