Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 19, 2004 std.utf Access Violation | ||||
---|---|---|---|---|
| ||||
import std.stdio; import std.uri; int main() { writefln("%s", std.uri.encode("http://www.digitalmars.com/~fred/fred's RX.html#foo")); return 0; } Output (Windows): Error: Access Violation Seems to only happen if there's something to encode in the string. If I compile uri.d and link with it myself it works fine, so it might be that phobos.lib has an outdated version compiled in. I've had that problem in my own libs. |
November 19, 2004 Re: std.utf Access Violation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vathix |
Vathix schrieb am Thu, 18 Nov 2004 22:15:44 -0500:
> import std.stdio;
> import std.uri;
> int main()
> {
> writefln("%s", std.uri.encode("http://www.digitalmars.com/~fred/fred's
> RX.html#foo"));
> return 0;
> }
>
>
> Output (Windows):
> Error: Access Violation
~wow~, this tiny programm sucks memory like a black hole! got killed under Linux when it passed the 2GB border.
|
Copyright © 1999-2021 by the D Language Foundation