[Issue 389] New: Cannot link to std.path.altsep
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 29 16:59:10 PDT 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 at digitalmars.com
ReportedBy: digitalmars-com at 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
--
More information about the Digitalmars-d-bugs
mailing list