sdlang-d can not link after updating to dmd 2.066

Puming via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 27 03:18:17 PDT 2014


Hi,

I'm using sdlang-d version 0.8.4 
(http://code.dlang.org/packages/sdlang-d).

When I update dmd to version 2.066 today, I found that sdlang-d 
won't link, with these errors:

Undefined symbols for architecture x86_64:
   
"_D7sdlang_3ast3Tag103__T11MemberRangeTC7sdlang_3ast3TagVAyaa7_616c6c54616773VAyaa11_746167496e646963696573VAyaa5_5f74616773Z11MemberRange11__invariantMxFZv", 
referenced from:
       
_D7sdlang_3ast3Tag103__T11MemberRangeTC7sdlang_3ast3TagVAyaa7_616c6c54616773VAyaa11_746167496e646963696573VAyaa5_5f74616773Z11MemberRange30__T13opBinaryRightVAyaa2_696eZ13opBinaryRightMFAyaZb 
in haha.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to 
see invocation)

I'm using Mac OSX. Do you have similar issue?

I reduced code to this:

```d
import std.stdio;
import sdlang;

void main()
{
	auto cfg = parseFile("hello.sdl");
	Tag t = cfg.tags["name"][0];
	writeln(t);
}
```

I'm wondering sdlang-d needs an update. Or is there a new project 
about sdlang?(heard about SDL becoming official in dub, wondering 
how dub is parsing SDL).


More information about the Digitalmars-d-learn mailing list