digitalmars.D.bugs - [Issue 14445] New: std.net.curl not usable in safe code
- via Digitalmars-d-bugs (26/26) Apr 13 2015 https://issues.dlang.org/show_bug.cgi?id=14445
https://issues.dlang.org/show_bug.cgi?id=14445 Issue ID: 14445 Summary: std.net.curl not usable in safe code Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: braddr puremagic.com module safecurl; void main() safe { import std.net.curl; import std.stdio: writeln; char[] foo = get("http://dlang.org/"); writeln("length: ", foo.length); } safe-curl.d(8): Error: safe function 'D main' cannot call system function 'std.net.curl.get!(AutoProtocol, char).get' The rest of std.net.curl is pretty much the same.. the whole module needs to be whacked by the safe stick. --
Apr 13 2015