[PROPOSAL] Drop the pre-C99 types (at least from internal code) #412
derobins
started this conversation in
Proposed Change
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PROBLEM
The HDF4 library was created in a pre-C99 world and contains a type system that mimics C-99 fixed-size integer types, etc. It would be nice to replace this with C-99 types, at least internally.
The list of types (from
hdf/src/hdfi.h
):PROPOSED FIX
HOW WOULD USERS BE AFFECTED?
PRO
➕ HDF4 library code looks like modern C code
➕ Old-school things available for software that needs it
➕ No documentation or API changes if the public API is unchanged
CON
➖ Possible user confusion if we update the public API
➖ Documentation changes if we update the public API
➖Library might look "binary incompatible" if we update the public API, even though the types would be equivalent
NEUTRAL
✔️ Might want to add options to hide legacy types
Beta Was this translation helpful? Give feedback.
All reactions