http://d.puremagic.com/issues/show_bug.cgi?id=10522
--- Comment #2 from Andrej Mitrovic <[email protected]> 2013-08-19 08:35:40 PDT --- (In reply to comment #1) > Neither can string literals! printf is a c-varargs function, and has no way > of > knowing you want the implicit conversion to const(char)*. I guess that shows how spoiled I am by D's variadic templates. :) > printf("-- %s\n", cast(const(char*))__FILE__); Also __FILE__.ptr and __FILE__.toStringz. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
