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

Error with implicit function declaration in HDF5 library #36

Closed
grimbough opened this issue Dec 9, 2020 · 1 comment
Closed

Error with implicit function declaration in HDF5 library #36

grimbough opened this issue Dec 9, 2020 · 1 comment
Assignees

Comments

@grimbough
Copy link
Owner

Implicit declarations are not allowed by C99 but until recently compilers have not enforced this. The latest Apple compilers do.

You can enforce this on other versions (and other platforms including with gcc) by using -Werror=implicit-function-declaration in CFLAGS.

H5Fsuper.c:1397:16: error: implicit declaration of function
'H5O__fsinfo_set_version' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
             if(H5O__fsinfo_set_version(f, &fsinfo) < 0)
@grimbough
Copy link
Owner Author

This should have been address in the move to HDF5 1.10.7

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

1 participant