Thread overview
[Issue 389] New: Cannot link to std.path.altsep
Sep 29, 2006
d-bugmail
Oct 02, 2006
Thomas Kuehne
Nov 25, 2006
d-bugmail
September 29, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=389

           Summary: Cannot link to std.path.altsep
           Product: D
           Version: 0.167
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: digitalmars-com@baysmith.com


----- pathTest.d -----
private {
        import std.path;
        import std.stdio;
}

void main() {
        writefln("test", altsep, "path");
}
----------

$ dmd pathTest.d
gcc pathTest.o -o pathTest -m32 -lphobos -lpthread -lm -Xlinker
-L/home/bsmith/tools/d/dmd/lib
pathTest.o: In function `_Dmain':
pathTest.d:(.gnu.linkonce.t_Dmain+0x10): undefined reference to
`_D3std4path6altsepG0a'
collect2: ld returned 1 exit status
--- errorlevel 1


-- 

October 02, 2006
d-bugmail@puremagic.com schrieb am 2006-09-29:
> http://d.puremagic.com/issues/show_bug.cgi?id=389

> ----- pathTest.d -----
> private {
>         import std.path;
>         import std.stdio;
> }
>
> void main() {
>         writefln("test", altsep, "path");
> }
> ----------
>
> $ dmd pathTest.d
> gcc pathTest.o -o pathTest -m32 -lphobos -lpthread -lm -Xlinker
> -L/home/bsmith/tools/d/dmd/lib
> pathTest.o: In function `_Dmain':
> pathTest.d:(.gnu.linkonce.t_Dmain+0x10): undefined reference to
> `_D3std4path6altsepG0a'
> collect2: ld returned 1 exit status
> --- errorlevel 1

Added to DStress as http://dstress.kuehne.cn/run/c/const_39_A.d http://dstress.kuehne.cn/run/c/const_39_B.d http://dstress.kuehne.cn/run/c/const_39_C.d http://dstress.kuehne.cn/run/c/const_39_D.d http://dstress.kuehne.cn/run/c/const_39_E.d

Thomas


November 25, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=389


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla@digitalmars.com  2006-11-25 03:52 -------
Fixed DMD 0.175


--