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

TIME datatypes won't compile on vxWorks #5

Open
MarkRivers opened this issue Oct 28, 2016 · 0 comments
Open

TIME datatypes won't compile on vxWorks #5

MarkRivers opened this issue Oct 28, 2016 · 0 comments

Comments

@MarkRivers
Copy link
Member

I had to disable 4 lines in H5T.c for vxWorks;

#ifndef H5_HAVE_VXWORKS
/* These functions are not working on vxWorks, need to figure out why */
    /* Little-endian 32-bit UNIX time_t */
    H5T_INIT_TYPE(TIME, H5T_UNIX_D32LE_g, COPY, std_u32le, NOSET, -)

    /* Big-endian 32-bit UNIX time_t */
    H5T_INIT_TYPE(TIME, H5T_UNIX_D32BE_g, COPY, std_u32be, NOSET, -)

    /* Little-endian 64-bit UNIX time_t */
    H5T_INIT_TYPE(TIME, H5T_UNIX_D64LE_g, COPY, std_u64le, NOSET, -)

    /* Big-endian 64-bit UNIX time_t */
    H5T_INIT_TYPE(TIME, H5T_UNIX_D64BE_g, COPY, std_u64be, NOSET, -)
#endif

There is probably some data type that is not correctly defined for vxWorks. It is hard to track down because H5T_INIT_TYPE is a deeply nested macro. I asked the HDF Group support what could be causing the problem but they were not willing to help without paying for support.

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