[Bug 202] Undefined reference to libcurl functions with small program (not explicitly using network).
via D.gnu
d.gnu at puremagic.com
Wed Feb 10 06:16:36 PST 2016
http://bugzilla.gdcproject.org/show_bug.cgi?id=202
--- Comment #1 from Sebastien Alaiwan <sebastien.alaiwan at gmail.com> ---
It seems to occur when std.conv and byLine are used in the same module.
Here's another example which causes link issues:
// cantlink.d
int main()
{
import std.stdio;
stdin.byLine().front();
return 0;
}
void f(char[] s)
{
import std.conv;
to!int(s);
}
$ gdc cantlink.d
If the 'char[]' is changed to a 'string', the problem disappears.
--
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/20160210/2979352c/attachment.html>
More information about the D.gnu
mailing list