LDC 0.15.1 released!

bearophile via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat Dec 20 03:26:48 PST 2014


Kai Nacke:

> It's fixed in master branch.

Very good. I have found another little problem in the latest 
Windows32 of ldc2, if I compile this with ldmd2:


void main() {
     import std.stdio: File;
     import std.conv: to;
     File("data").byLine.front.to!int;
}


I receive:

...ldc2\bin/../lib/libphobos2-ldc.a(curl.obj):(.text[__D3std3net4curl4Curl8shutdownMFZv]+0x3e): 
undefined reference to `curl_easy_cleanup'
...ldc2\bin/../lib/libphobos2-ldc.a(curl.obj):(.text[__D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionlZv]+0x51): 
undefined reference to `curl_easy_setopt'
.../MinGW/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe: 
...ldc2\bin/../lib/libphobos2-ldc.a(curl.obj): bad reloc address 
0x51 in section 
`.text[__D3std3net4curl4Curl3setMFE3etc1c4curl10CurlOptionlZv]'
collect2.exe: error: ld returned 1 exit status
Error: ...\MinGW\bin\gcc.exe failed with status: 1

Bye,
bearophile


More information about the digitalmars-d-ldc mailing list