digitalmars.D.bugs - zlib problems (dmd 0.111)
- Ivan Senji (3/3) Jan 26 2005 Anybody else having problems with zlib?
- zwang (2/7) Jan 26 2005 Any code snippets?
- Ivan Senji (4/11) Jan 26 2005 Not at the moment. I returned to 0.109 to be able to continue
- Ivan Senji (20/23) Jan 29 2005 It turns our it isn't zlib's fault but MemoryStream's:
- zwang (2/35) Jan 29 2005 I'm using dmd 0.112 on Windows, and the code prints 0 and 2 as expected.
-
Ivan Senji
(6/14)
Jan 29 2005
Anybody else having problems with zlib? When i call compress i get acces violation, and the code worked in 0.109.
Jan 26 2005
Ivan Senji wrote:Anybody else having problems with zlib? When i call compress i get acces violation, and the code worked in 0.109.Any code snippets?
Jan 26 2005
"zwang" <nehzgnaw gmail.com> wrote in message news:ct7set$1b7k$1 digitaldaemon.com...Ivan Senji wrote:Not at the moment. I returned to 0.109 to be able to continue programming, but in the evening i'll try to come up with a small example.Anybody else having problems with zlib? When i call compress i get acces violation, and the code worked in 0.109.Any code snippets?
Jan 26 2005
"Ivan Senji" <ivan.senji public.srce.hr> wrote in message news:ct7k7m$12hk$1 digitaldaemon.com...Anybody else having problems with zlib? When i call compress i get acces violation, and the code worked in 0.109.It turns our it isn't zlib's fault but MemoryStream's: This is what i get: <code> import std.stdio; import std.stream; int main(char[][]args) { MemoryStream ms = new MemoryStream; writefln(ms.data.length); ms.writefln(""); writefln(ms.data.length); } </code> And this code prints: 7473032 19013252 And this is obviously a wrong length and a reason i was getting acces violation.
Jan 29 2005
Ivan Senji wrote:"Ivan Senji" <ivan.senji public.srce.hr> wrote in message news:ct7k7m$12hk$1 digitaldaemon.com...I'm using dmd 0.112 on Windows, and the code prints 0 and 2 as expected.Anybody else having problems with zlib? When i call compress i get acces violation, and the code worked in 0.109.It turns our it isn't zlib's fault but MemoryStream's: This is what i get: <code> import std.stdio; import std.stream; int main(char[][]args) { MemoryStream ms = new MemoryStream; writefln(ms.data.length); ms.writefln(""); writefln(ms.data.length); } </code> And this code prints: 7473032 19013252 And this is obviously a wrong length and a reason i was getting acces violation.
Jan 29 2005
"zwang" <nehzgnaw gmail.com> wrote in message news:ctggvv$312j$1 digitaldaemon.com...Ivan Senji wrote:<snip>Thanks for trying it. I guess i'm going to have to download 0.112 but is strange how it works on 0.109 and 0.112 and not on 0.111.And this is obviously a wrong length and a reason i was getting acces violation.I'm using dmd 0.112 on Windows, and the code prints 0 and 2 as expected.
Jan 29 2005