[Mono-dev] 'sizeof' returns different results between .NET and Mono/Linux: a bug?

Miguel de Icaza miguel at ximian.com
Fri Jan 5 22:24:46 EST 2007


Hello,

> Trying to understand what was wrong, I discovered that a given struct
> has not the same size for .NET and for Mono / Linux, even when playing
> with the Pack args. That seems very surprising... and I would it a bug
> of Mono on Linux. Any advice on this?

Your struct contains a DateTime, and the size of DateTime is likely
different between the two implementations.

Miguel



More information about the Mono-devel-list mailing list