[Mono-bugs] [Bug 80418][Wis] New - C# compiler doesn't add 'vararg' to P/Invoke functions
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Dec 31 14:07:44 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by akyrtzi at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80418
--- shadow/80418 2006-12-31 14:07:44.000000000 -0500
+++ shadow/80418.tmp.28671 2006-12-31 14:07:44.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 80418
+Product: Mono: Compilers
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: akyrtzi at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: C# compiler doesn't add 'vararg' to P/Invoke functions
+
+When compiling the following program:
+
+using System.Runtime.InteropServices;
+
+class Program
+{
+ [DllImport("msvcrt.dll")]
+ public static extern void printf(string format, __arglist);
+
+ static void Main()
+ {
+ printf("number %d\n", __arglist(10));
+ }
+}
+
+The mono C# compiler doesn't add 'vararg' to the 'printf' method definition.
More information about the mono-bugs
mailing list