Control: tags -1 upstream Control: forwarded -1 https://github.com/hhoeflin/hdf5r/issues/192
Am Sun, Sep 18, 2022 at 08:21:55AM +0200 schrieb Lucas Nussbaum: > > gcc -I"/usr/share/R/include" -DNDEBUG -I/usr/include/hdf5/serial > > -D__USE_MINGW_ANSI_STDIO -fpic -g -O2 > > -ffile-prefix-map=/build/r-base-J8F88F/r-base-4.2.1=. > > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > > -D_FORTIFY_SOURCE=2 -c datatype_export.c -o datatype_export.o > > datatype_export.c: In function ‘create_DT_H5R_type_t’: > > datatype_export.c:1903:19: error: storage size of ‘myenum’ isn’t known > > 1903 | enum H5R_type_t myenum; > > | ^~~~~~ > > datatype_export.c:1904:41: error: invalid application of ‘sizeof’ to > > incomplete type ‘enum H5R_type_t’ > > 1904 | hid_t base_type = get_h5_equiv(sizeof(enum H5R_type_t), > > issigned(enum H5R_type_t)); > > | ^~~~ > > In file included from datatype_export.c:20: > > datatype_export.c:1904:73: error: conversion to incomplete type > > 1904 | hid_t base_type = get_h5_equiv(sizeof(enum H5R_type_t), > > issigned(enum H5R_type_t)); > > | > > ^~~~~~~~~~ > > datatype_export.h:29:24: note: in definition of macro ‘issigned’ > > 29 | #define issigned(t) (((t)(-1)) < 0) > > | ^ > > make[1]: *** [/usr/lib/R/etc/Makeconf:168: datatype_export.o] Error 1 I have forwarded this upstream. Kind regards Andreas. -- http://fam-tille.de