[Issue 2980] compiler error when writefln( uint )

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 14 22:19:56 PDT 2009


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





--- Comment #3 from Andrei Alexandrescu <andrei at metalanguage.com>  2009-05-14 22:19:55 PDT ---
(In reply to comment #2)
> reopening and turning into an enhancement request.  The writefln templates
> could do considerably better about messaging the problem.

Yah, I changed things such that now you'll see:

/home/andrei/code/dmd/phobos/std/stdio.d(512): Error: static assert  "You must
pass a formatting string as the first argument to writef or writefln. If no
formatting is needed, you may want to use write."

-- 
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