JuliaIO / GZip.jl

A Julia interface for gzip functions in zlib
https://juliaio.github.io/GZip.jl/dev
MIT License
39 stars 30 forks source link

Failing on v0.3 (using gc_enable) #30

Closed slundberg closed 9 years ago

slundberg commented 9 years ago

After the latest update the following code fails because close calls gc_enable with a Bool argument, which I think is only supported on the master version of Julia right now. Not sure what the version support goals are for GZip, but I thought I should mention this for others who run into it.

f = GZip.open("/tmp/test", "w")
close(f)
yuyichao commented 9 years ago

Which version of Compat.jl are you using, these should be defined by Compat.jl

yuyichao commented 9 years ago

The current version of this definition is added in https://github.com/JuliaLang/Compat.jl/commit/aec96b7952ec366c8d2e9f26abfe92621a9f4849 and according to github they should be available in Compat.jl version 0.4.8 and later

slundberg commented 9 years ago

Ah! My mistake...I realize now I had an old version of Compat loaded in the Julia session from before the last Pkg.update() run. Sorry to mis-report this.

kmsquire commented 9 years ago

Would be good to set the required version of Compat to 0.4.8. (I'll do that.)