[Issue 862] New: Can't link with std.c.stdlib.setenv

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 20 13:11:20 PST 2007


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

           Summary: Can't link with std.c.stdlib.setenv
           Product: D
           Version: 1.00
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: link-failure
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: deewiant at gmail.com


setenv(3) is declared in std.c.stdlib, but isn't found anywhere by the linker.

Simple test case:
--
import std.c.stdlib;

void main() {
        setenv("foo".ptr, "bar".ptr, 0);
}


-- 



More information about the Digitalmars-d-bugs mailing list