https://d.puremagic.com/issues/show_bug.cgi?id=12505
Summary: Null pointers are pretty-printed even when hex output
is requested
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from yebblies <[email protected]> 2014-04-02 15:48:37 EST ---
import std.stdio;
void main()
{
void* p = null;
writefln("%08X", p);
}
prints:
null
when execting:
00000000
I found this in some old code that used to work.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------