[Issue 2029] Typesafe variadic functions don't work in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 23 01:50:31 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2029



--- Comment #10 from Don <clugdbug at yahoo.com.au> 2009-12-23 01:50:30 PST ---
Oops, we still don't support C-style variadics. The patch to interpret.c should
be:

 -    if (tf->varargs)
+    if (tf->varargs && arguments && parameters && arguments->dim !=
parameters->dim)
    {    cantInterpret = 1;
-    error("Variadic functions are not yet implemented in CTFE");
+    error("C-style Variadic functions are not yet implemented in CTFE");
    return NULL;
    }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list