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

Fix macro hygiene bug in test files and deprecated string method and … #353

Closed
wants to merge 1 commit into from

Conversation

musm
Copy link
Member

@musm musm commented Jan 13, 2017

…other bugfix

tests pass locally on 0.4 0.5 and nightly

@@ -2145,19 +2145,19 @@ function h5a_get_name(attr_id::Hid)
len = h5a_get_name(attr_id, 0, C_NULL) # order of args differs from {f,i}_get_name
buf = Array(UInt8, len+1)
h5a_get_name(attr_id, len+1, buf)
@compat unsafe_string(buf[1:len])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't make sense to unsafe_string an UInt8 array, we want the name

@@ -1383,7 +1383,7 @@ end
# Read compound type
@compat function read(obj::HDF5Dataset, ::Union{Type{Array{HDF5Compound}},Type{HDF5Compound}})
t = datatype(obj)
local sz = 0, n, membername, membertype, memberoffset, memberfiletype
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this kind of variable definition is deprecated in 0.6

@musm
Copy link
Member Author

musm commented Jan 13, 2017

OS X nightly hdf5 has build errors with homebrew. I believe these are unrelated to the PR.

@musm musm closed this Jan 14, 2017
@musm musm reopened this Jan 14, 2017
@musm
Copy link
Member Author

musm commented Jan 15, 2017

closing in favor of #354

@musm musm closed this Jan 15, 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

Successfully merging this pull request may close these issues.

1 participant