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

           Summary: writefln Segmentation fault if no globals
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: alex...@mac.com


--- Comment #0 from Alex Burton <alex...@mac.com> 2010-09-11 14:29:49 PDT ---
Hi,

I have dmd version 2.048, OS X 10.5.8

If I compile this :

import std.stdio;
int main()
{
    writefln("%d",0);
    return 0;
}

with "dmd file.d"

and then run it

I get segmentation fault in writefln

if I then compile this :

import std.stdio;
int x;
int main()
{
    writefln("%d",0);
    return 0;
}

and run it, it works.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to