Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings and Errors with Julia 0.4 #21

Closed
m-ender opened this issue Nov 19, 2015 · 8 comments
Closed

Warnings and Errors with Julia 0.4 #21

m-ender opened this issue Nov 19, 2015 · 8 comments

Comments

@m-ender
Copy link

m-ender commented Nov 19, 2015

I was trying to use this package with Julia 0.4, but on top of tons of deprecation warnings, it throws an error when actually trying use pack or unpack.

When loading the package, there is a flood of warnings along the lines of

WARNING: Base.Uint is deprecated, use UInt instead.
  likely near C:\Users\buettner\.julia\v0.4\StrPack\src\StrPack.jl:397

Once I use @struct, there are more of these:

WARNING: Base.String is deprecated, use AbstractString instead.
[...]
in pack at C:\Users\buettner\.julia\v0.4\StrPack\src\StrPack.jl:204

And then when I try pack or unpack I get:

ERROR: LoadError: type DataType has no field names
 in chktype at C:\Users\buettner\.julia\v0.4\StrPack\src\StrPack.jl:136
 in pack at C:\Users\buettner\.julia\v0.4\StrPack\src\StrPack.jl:197
 in pack at C:\Users\buettner\.julia\v0.4\StrPack\src\StrPack.jl:241
 in include at boot.jl:261
 in include_from_node1 at loading.jl:304
 in process_options at client.jl:308
 in _start at client.jl:411
while loading [pathtomycode]\crom.jl, in expression starting on line 22
@ararslan
Copy link

I can confirm that this happens simply by executing the example code on ReadTheDocs.

@pao
Copy link
Owner

pao commented Dec 7, 2015

See also #17.

@DanielArndt
Copy link

@pao Are you considering tagging a new version? It looks like some of these warnings / errors have been resolved.

@erfangc
Copy link

erfangc commented Jan 22, 2016

👍 please tag a new version the last is from more than a year ago and breaks with 0.4+ @pao thank you for the code!

@helgee
Copy link

helgee commented Jan 26, 2016

👍

@breichholf
Copy link

👍 for tagging a new version

@thomas-nilsson-irfu
Copy link

👍 I would also like to see a new released version with this issue fixed. Soon two years will have passed since the last release.

@aviks
Copy link
Collaborator

aviks commented Jul 10, 2017

v0.1.0 supporting 0.5 was tagged some time ago.

@aviks aviks closed this as completed Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants