05.05.2014 19:52, Matthieu Brucher пишет:
> When HDF5 library is linked statically, the same compiler settings
are used for structs, so they end up binary compatible. Thus, for many C
users it's not a big problem. However, when calling from non-C code, the
same field alignment cannot be applied automatically.
Statically linked or dynamically, it doesn't matter. If the library is
compiled as an rpm, for instance, and then you compile your application
with PGI or Intel compiler, you may have the same issue.
By static compilation I was meaning the setup where HDF5 code is
compiled into client application. Sorry if I wasn't clear.
As you correctly stated (and as I mentioned earlier) C users may also be
in trouble in case they use different compiler or different compiler flags.
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