[Mono-bugs] [Bug 78973][Wis] Changed - Vararg pinvoke calls do not pop variable args

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 2 10:29:58 EDT 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 vargaz at gmail.com.

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

--- shadow/78973	2006-08-02 05:47:47.000000000 -0400
+++ shadow/78973.tmp.28418	2006-08-02 10:29:58.000000000 -0400
@@ -47,6 +47,17 @@
 Created an attachment (id=17390)
 gcc4cil runtime support library (needed by test.exe)
 
 
 ------- Additional Comments From roberto.costa at st.com  2006-08-02 05:47 -------
 The binaries needed to reproduce the problem are attached.
+
+------- Additional Comments From vargaz at gmail.com  2006-08-02 10:29 -------
+So it seems mono doesn't currently support vararg calls to pinvoke
+functions. A workaround might be to define a separate non-vararg
+declaration of the vararg function for each different calling signature,
+ie.
+printf (int8* arg, int i)
+printf (int8* arg, double d)
+
+etc.
+


More information about the mono-bugs mailing list