Skip to content

incompatibility with recent hdf5 v2 #503

@VictorEijkhout

Description

@VictorEijkhout

Many many many warnings and finally:

/work2/00434/eijkhout/silo/silo-4.12.0/src/hdf5_drv/silo_hdf5.c:955:60: error: passing argument 5 of ‘db_hdf5_put_cmemb’ from incompatible pointer type [-Wincompatible-pointer-types]
  955 |         db_hdf5_put_cmemb(_mt, #NAME, OFFSET(_m, NAME), 1, &_size, _tmp_m);   \
      |                                                            ^~~~~~
      |                                                            |
      |                                                            hsize_t * {aka long unsigned int *}
/work2/00434/eijkhout/silo/silo-4.12.0/src/hdf5_drv/silo_hdf5.c:15165:13: note: in expansion of macro ‘MEMBER_3’
15165 |             MEMBER_3(double, max_extents);
      |             ^~~~~~~~
/work2/00434/eijkhout/silo/silo-4.12.0/src/hdf5_drv/silo_hdf5.c:1934:41: note: expected ‘const int *’ but argument is of type ‘hsize_t *’ {aka ‘long unsigned int *’}
 1934 |                   int ndims, int const *dim, hid_t type)
      |                              ~~~~~~~~~~~^~~
/work2/00434/eijkhout/silo/silo-4.12.0/src/hdf5_drv/silo_hdf5.c:957:54: error: passing argument 5 of ‘db_hdf5_put_cmemb’ from incompatible pointer type [-Wincompatible-pointer-types]
  957 |             db_hdf5_put_cmemb(_ft, #NAME, _f_off, 1, &_size, _tmp_f);         \
      |                                                      ^~~~~~
      |                                                      |
      |                                                      hsize_t * {aka long unsigned int *}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions