www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - An issue with std.variant; and std.slist?

reply Christopher Wright <dhasenan gmail.com> writes:
Using dmd2.007 and the precompiled libphobos2.a that it came with, I was 
entirely unable to link anything that involved std.variant -- link 
errors for just about everything in the module, including ModuleInfo.

When I tried recompiling, the makefile tried to compile a module 
std.slist. That module didn't exist and it complained. I had to modify 
the makefile not to look for std.slist, and then phobos2 compiled 
successfully. I was then able to link stuff involving std.variant.

Has anyone else had troubles or successes with std.variant in 2.007 on 
Linux, or was it just my bad luck or whatever that I had issues?
Nov 06 2007
next sibling parent torhu <no spam.invalid> writes:
Christopher Wright wrote:
 When I tried recompiling, the makefile tried to compile a module 
 std.slist. That module didn't exist and it complained. I had to modify 
 the makefile not to look for std.slist, and then phobos2 compiled 
 successfully. I was then able to link stuff involving std.variant.
slist = singly linked list? I wonder if phobos container classes finally are coming?
Nov 06 2007
prev sibling parent Witold Baryluk <baryluk smp.if.uj.edu.pl> writes:
Dnia Tue, 06 Nov 2007 17:50:11 -0500
Christopher Wright <dhasenan gmail.com> napisa=B3/a:

 Using dmd2.007 and the precompiled libphobos2.a that it came with, I
 was entirely unable to link anything that involved std.variant --
 link errors for just about everything in the module, including
 ModuleInfo.
=20
 When I tried recompiling, the makefile tried to compile a module=20
 std.slist. That module didn't exist and it complained. I had to
 modify the makefile not to look for std.slist, and then phobos2
 compiled successfully. I was then able to link stuff involving
 std.variant.
=20
 Has anyone else had troubles or successes with std.variant in 2.007
 on Linux, or was it just my bad luck or whatever that I had issues?
http://d.puremagic.com/issues/show_bug.cgi?id=3D1647 But i haven't tested std.variant. --=20 Witold Baryluk, aleph0
Nov 07 2007