www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2476] New: std.stdio fails to compile

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476

           Summary: std.stdio fails to compile
           Product: D
           Version: 2.021
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: jlquinn optonline.net


Any program fails to compile as below if I import std.stdio.  2.020 worked.

-*- mode: compilation; default-directory: "~/d/" -*-
Compilation started at Fri Nov 28 01:13:37

~/dmd/bin/dmd junk1.d
/home/jlquinn/dmd/bin/../src/phobos/std/stdio.d(27): module memory cannot read
file 'core/memory.d'

Compilation exited abnormally with code 1 at Fri Nov 28 01:13:37


-- 
Nov 27 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476


torhu yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torhu yahoo.com





Looks like dmd.conf isn't updated to include the import for druntime.  Try
replacing the default DFLAGS line with this one:

DFLAGS=-I% P%/../src/phobos -I% P%/../src/runtime/import -L-L% P%/../lib


-- 
Nov 28 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476







 Looks like dmd.conf isn't updated to include the import for druntime.  Try
 replacing the default DFLAGS line with this one:
 
 DFLAGS=-I% P%/../src/phobos -I% P%/../src/runtime/import -L-L% P%/../lib
 
DFLAGS=-I% P%/../src/phobos -I% P%/../src/druntime/import -L-L% P%/../lib ------------------------------------------^ Thanks for the tip. That fixes it. --
Dec 01 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476






I think you want "runtime", not "druntime".  druntime is the old version that
Walter that got left in there.


-- 
Dec 02 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476







 I think you want "runtime", not "druntime".  druntime is the old version that
 Walter that got left in there.
druntime worked. runtime did not. --
Dec 03 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476






runtime worked when I tried i on Windows.  If it doesn't work, then that's a
bug.  What errors do you get?


-- 
Dec 03 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476


torhu yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adolf.mathias googlemail.com





*** Bug 2488 has been marked as a duplicate of this bug. ***


-- 
Dec 03 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476







 runtime worked when I tried i on Windows.  If it doesn't work, then that's a
 bug.  What errors do you get?
I get the same error as with the unmodified dmd.conf: -*- mode: compilation; default-directory: "~/d/" -*- Compilation started at Sat Dec 6 14:04:27 ~/dmd/bin/dmd Junk.d /home/jlquinn/dmd/bin/../src/phobos/std/stdio.d(27): module memory cannot read file 'core/memory.d' Compilation exited abnormally with code 1 at Sat Dec 6 14:04:27 --
Dec 06 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2476


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr puremagic.com
         Resolution|                            |FIXED





PDT ---
dmd.conf was fixed to include druntime's path long ago.  Marking resolved. 
Please reopen with a complete description of the current problem if there's
anything left to do here.

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