Hi Janosch,

On Tue, Jan 22, 2013 at 10:11 AM, Janosch Machowinski <
[email protected]> wrote:

> Hi,
> I ran into an issue with the enum interface :
> In C this is allowed :
>     enum frame_mode_t {
>         RAW_MODES = 128,
>         MODE_BAYER = RAW_MODES,
>     };
>
> For HDF5 this would give me an
> H5T_enum_insert(): value redefinition
>
> From my point of view this is a bug in HDF5.
> Any opinions on this issue ?
>

Enums have not been very precisely defined in HDF5.  It's in my queue to
address that in the future.  I'm not sure when that will happen since there
is no funding source for that work, but I'd like to get an RFC out to the
community as soon as I can find a spare moment.

Cheers,

Dana
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to