[Bug 202] Undefined reference to libcurl functions with small program (not explicitly using network).
via D.gnu
d.gnu at puremagic.com
Mon Feb 15 23:13:58 PST 2016
http://bugzilla.gdcproject.org/show_bug.cgi?id=202
--- Comment #9 from Sebastien Alaiwan <sebastien.alaiwan at gmail.com> ---
This gets weirder.
The following program shows the error (undefined references to curl):
int main()
{
import std.stdio;
import std.conv;
stdin.byLine();
char[] s;
to!int(s);
parse!int(s);
return 0;
}
But, swapping the calls to 'to' and 'parse' makes it link just fine.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20160216/9da8ccaa/attachment.html>
More information about the D.gnu
mailing list