http://d.puremagic.com/issues/show_bug.cgi?id=10522
yebblies <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |INVALID --- Comment #1 from yebblies <[email protected]> 2013-08-20 00:38:30 EST --- Neither can string literals! printf is a c-varargs function, and has no way of knowing you want the implicit conversion to const(char)*. Solutions: printf("-- %s\n", cast(const(char*))__FILE__); printf("-- %.*s\n", __FILE__.length, __FILE__.ptr); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
