[Issue 7872] dmd should warn if `printf` is used on D strings
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 9 11:34:40 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7872
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maxim at maxim-fomin.ru
--- Comment #3 from Maxim Fomin <maxim at maxim-fomin.ru> 2012-04-09 11:35:19 PDT ---
(In reply to comment #1)
> In D string literals are zero-terminated. So this run correctly:
>
If documentation
(http://www.prowiki.org/wiki4d/wiki.cgi?action=browse&id=DanielKeep/TextInD&oldid=StringsInD)
is not mistaken string literals are zero-terminated in DMD, thus it is
compiler-specific feature.
--
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