On Sun, 10 Feb 2013 09:18:58 +0100 Benjamin Thaut <c...@benjamin-thaut.de> wrote:
> I have this small test program, it will crash when compiled on x64 > windows, but it works fine on 32bit windows. What am I doing wrong? > > import core.vararg; > import std.stdio; > > void print(string fmt, ...) > { > auto arg = va_arg!(const(char)[])(_argptr); > writefln(fmt ~ arg); > } > > void main(string[] args) > { > print("+++","---"); > } > > Kind Regards > Benjamin Thaut Might be related to these: http://d.puremagic.com/issues/show_bug.cgi?id=6576 http://d.puremagic.com/issues/show_bug.cgi?id=7893