[Mono-dev] Patch for a bug when using sizeof with a generic
Zoltan Varga
vargaz at gmail.com
Sun Feb 13 10:19:44 EST 2011
Applied to HEAD/2.10/2.6. Thanks.
Zoltan
On Sun, Feb 13, 2011 at 3:21 PM, Alexandre Mutel
<alexandre_mutel at yahoo.fr>wrote:
> Hi All,
> I would like to submit a patch for this bug:
> https://bugzilla.novell.com/show_bug.cgi?id=580189
> I’m using sizeof(T) in the SharpDX project (A fully managed .NET DirectX
> API http://code.google.com/p/sharpdx/) to be able to write efficiently
> structured data in memory. This instruction is not supported by C# but is a
> valid CLI (and can be in fact generated by C++/CLI). The impacted file is
> mono/mono/method-to-ir.c, in the mono_method_to_ir.
>
> Because some people are using SharpDX with Mono (and would like to use it
> with Unity), I found this bug (among some others) in Mono that is quite
> annoying to go further.
>
> Be indulgent for this patch, as I have just entered the mono source code
> this afternoon, and I’m not sure the patch is enough safe/correct, as the
> whole generic handling is still obscure to me.
>
> At least, this patch is solving my specific problem ,and I’m able to run
> SharpDX samples smoothly! :)
>
> Also, as a very new developer, I would like to make just a remark about the
> building process: I’m not hugely familiar with git, but It seems that
> default config for line termination is “autoclr”... which is breaking
> autogen.sh pre-build. This was annoying, as it is not stated in the
> mono-compiling for windows doc
>
> Thanks!
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110213/acb84823/attachment.html
More information about the Mono-devel-list
mailing list