[Issue 12505] New: Null pointers are pretty-printed even when hex output is requested
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Apr  1 21:48:40 PDT 2014
    
    
  
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: nobody at puremagic.com
        ReportedBy: yebblies at gmail.com
--- Comment #0 from yebblies <yebblies at gmail.com> 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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list