06.05.2014 3:22, Andrea Bedini пишет:
I don't think it's an alignment problem. I think this happens
because H5G_storage_type_t is an enum and the size of an enum in C is
not fixed (although is guaranteed to be big enough to contain an int).
See e.g.
http://stackoverflow.com/questions/366017/what-is-the-size-of-an-enum-in-c
Thank you for your comment!
Could someone with working C compiler at hand please check the sizes of
H5G_storage_type_t and H5G_info_t, and also check whether using
alignas(1) changes anything?
Best wishes,
Andrey Paramonov
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org