[Mono-dev] __arglist and P/Invoke

Robert Jordan robertj at gmx.net
Sun Dec 31 12:08:09 EST 2006


Argiris Kirtzidis wrote:
> If I try to use Mono, I encounter two problems:
> 
> 1) The Mono C# compiler doesn't add 'vararg' to the method definition for printf.
> 2) If I try to execute the sample (compiled with MS.NET's C# compiler) a internal exception is thrown:
> 
> Unhandled Exception: System.InvalidProgramException: Invalid IL code in Program: Main (): IL_0008: call      0x0a000011
> 
> 
> Are these problems likely to be fixed in a future version of Mono ?

(2) is a known bug:

http://bugzilla.ximian.com/show_bug.cgi?id=78973

For (1) please file a bug.

Thanks
Robert




More information about the Mono-devel-list mailing list