error: too few arguments to function (HDF5)
Bug Description
Hi, looks like that from 1.10 to 1.14 changed the number of arguments.
Steps to reproduce
# cd to scilab 2024.0.0 directory
./configure \
--prefix=/usr \
--with-fftw \
--with-arpack-ng \
--with-arpack-library=/usr/lib \
--with-gcc \
--with-gfortran \
--with-tk \
--with-umfpack \
--with-umfpack-include=/usr/include/suitesparse \
--with-umfpack-library=/usr/lib \
--with-mpi \
--with-matio \
--with-hdf5-include=/usr/include \
--with-hdf5-library=/usr/lib \
--with-x \
--without-gui \
--without-javasci \
--without-jdk \
--disable-build-doxygen \
--disable-build-help \
--disable-debug-java \
--disable-static-system-lib \
make
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/c/ -I./src/cpp/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/threads/includes/ -I../../modules/dynamic_link/includes/ -I../../modules/output_stream/includes/ -I../../modules/api_scilab/includes/ -I../../modules/jvm/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/string/includes/ -I../../modules/console/includes/ -I../../modules/graphic_objects/includes/ -I../../modules/graphics/includes/ -I../../modules/io/includes/ -I/usr/include -DH5Dopen_vers=2 -DH5Topen_vers=2 -DH5Dcreate_vers=2 -DH5Aiterate_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Tget_array_dims_vers=2 -DH5Acreate_vers=2 -DH5Rdereference_vers=2 -DH5Eset_auto_vers=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fcommon -MT src/cpp/libscihdf5_algo_la-H5Link.lo -MD -MP -MF src/cpp/.deps/libscihdf5_algo_la-H5Link.Tpo -c src/cpp/H5Link.cpp -fPIC -DPIC -o src/cpp/.libs/libscihdf5_algo_la-H5Link.o
mv -f src/cpp/.deps/libscihdf5_algo_la-listvar_in_hdf5_v1.Tpo src/cpp/.deps/libscihdf5_algo_la-listvar_in_hdf5_v1.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/c/ -I./src/cpp/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/threads/includes/ -I../../modules/dynamic_link/includes/ -I../../modules/output_stream/includes/ -I../../modules/api_scilab/includes/ -I../../modules/jvm/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/string/includes/ -I../../modules/console/includes/ -I../../modules/graphic_objects/includes/ -I../../modules/graphics/includes/ -I../../modules/io/includes/ -I/usr/include -DH5Dopen_vers=2 -DH5Topen_vers=2 -DH5Dcreate_vers=2 -DH5Aiterate_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Tget_array_dims_vers=2 -DH5Acreate_vers=2 -DH5Rdereference_vers=2 -DH5Eset_auto_vers=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fcommon -MT src/cpp/libscihdf5_algo_la-HDF5Scilab.lo -MD -MP -MF src/cpp/.deps/libscihdf5_algo_la-HDF5Scilab.Tpo -c -o src/cpp/libscihdf5_algo_la-HDF5Scilab.lo `test -f 'src/cpp/HDF5Scilab.cpp' || echo './'`src/cpp/HDF5Scilab.cpp
In file included from src/cpp/H5DataConverter.hxx:20,
from src/cpp/H5DataConverter.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Exception.hxx:25,
from src/cpp/H5DataConverter.hxx:19:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
In file included from src/cpp/H5Dataset.hxx:19,
from src/cpp/H5Dataset.cpp:17:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Exception.hxx:25,
from src/cpp/H5Options.hxx:22,
from src/cpp/H5Dataset.cpp:16:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/c/ -I./src/cpp/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/threads/includes/ -I../../modules/dynamic_link/includes/ -I../../modules/output_stream/includes/ -I../../modules/api_scilab/includes/ -I../../modules/jvm/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/string/includes/ -I../../modules/console/includes/ -I../../modules/graphic_objects/includes/ -I../../modules/graphics/includes/ -I../../modules/io/includes/ -I/usr/include -DH5Dopen_vers=2 -DH5Topen_vers=2 -DH5Dcreate_vers=2 -DH5Aiterate_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Tget_array_dims_vers=2 -DH5Acreate_vers=2 -DH5Rdereference_vers=2 -DH5Eset_auto_vers=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fcommon -MT src/cpp/libscihdf5_algo_la-HDF5Scilab.lo -MD -MP -MF src/cpp/.deps/libscihdf5_algo_la-HDF5Scilab.Tpo -c src/cpp/HDF5Scilab.cpp -fPIC -DPIC -o src/cpp/.libs/libscihdf5_algo_la-HDF5Scilab.o
In file included from src/cpp/H5DataFactory.hxx:20,
from src/cpp/H5DataFactory.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5DataFactory.hxx:19:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
In file included from src/cpp/H5Group.hxx:19,
from src/cpp/H5File.cpp:17:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5File.cpp:16:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
In file included from src/cpp/H5Attribute.hxx:19,
from src/cpp/H5Attribute.cpp:17:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Exception.hxx:25,
from src/cpp/H5Options.hxx:22,
from src/cpp/H5Attribute.cpp:16:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
In file included from src/cpp/H5VariableScope.cpp:17:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Object.hxx:23:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
In file included from src/cpp/H5File.hxx:19,
from src/cpp/H5Dataspace.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Object.hxx:23:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
In file included from src/cpp/H5Type.hxx:21,
from src/cpp/H5Type.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Object.hxx:23:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
make[3]: *** [Makefile:1474: src/cpp/libscihdf5_algo_la-H5DataConverter.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from src/cpp/H5Group.hxx:24,
from src/cpp/H5ReferenceData.hxx:20,
from src/cpp/H5DataFactory.hxx:25,
from src/cpp/H5Dataset.cpp:18:
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::count(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:97:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::getElement(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:136:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
136 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In member function 'T& org_modules_hdf5::H5NamedObjectsList<T>::getObject(const std::string&)':
src/cpp/H5NamedObjectsList.hxx:312:34: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
312 | err = H5Oget_info_by_name(H5Object::getParent().getH5Id(), name.c_str(), &info, H5P_DEFAULT);
| ^
/usr/include/H5Opublic.h:540:15: note: declared here
540 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields,
| ^~~~~~~~~~~~~~~~~~~~
In file included from src/cpp/H5Group.hxx:24:
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::count(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:97:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::getElement(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:136:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
136 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In member function 'T& org_modules_hdf5::H5NamedObjectsList<T>::getObject(const std::string&)':
src/cpp/H5NamedObjectsList.hxx:312:34: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
312 | err = H5Oget_info_by_name(H5Object::getParent().getH5Id(), name.c_str(), &info, H5P_DEFAULT);
| ^
/usr/include/H5Opublic.h:540:15: note: declared here
540 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields,
| ^~~~~~~~~~~~~~~~~~~~
In file included from src/cpp/H5Group.hxx:24,
from src/cpp/H5ReferenceData.hxx:20,
from src/cpp/H5DataFactory.hxx:25:
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::count(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:97:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::getElement(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:136:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
136 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In member function 'T& org_modules_hdf5::H5NamedObjectsList<T>::getObject(const std::string&)':
src/cpp/H5NamedObjectsList.hxx:312:34: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
312 | err = H5Oget_info_by_name(H5Object::getParent().getH5Id(), name.c_str(), &info, H5P_DEFAULT);
| ^
/usr/include/H5Opublic.h:540:15: note: declared here
540 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields,
| ^~~~~~~~~~~~~~~~~~~~
In file included from src/cpp/H5Group.hxx:24,
from src/cpp/H5ReferenceData.hxx:20,
from src/cpp/H5DataFactory.hxx:25,
from src/cpp/H5Attribute.cpp:18:
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::count(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:97:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::getElement(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:136:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
136 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In member function 'T& org_modules_hdf5::H5NamedObjectsList<T>::getObject(const std::string&)':
src/cpp/H5NamedObjectsList.hxx:312:34: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
312 | err = H5Oget_info_by_name(H5Object::getParent().getH5Id(), name.c_str(), &info, H5P_DEFAULT);
| ^
/usr/include/H5Opublic.h:540:15: note: declared here
540 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields,
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1530: src/cpp/libscihdf5_algo_la-H5VariableScope.lo] Error 1
make[3]: *** [Makefile:1488: src/cpp/libscihdf5_algo_la-H5Dataspace.lo] Error 1
make[3]: *** [Makefile:1495: src/cpp/libscihdf5_algo_la-H5File.lo] Error 1
make[3]: *** [Makefile:1481: src/cpp/libscihdf5_algo_la-H5Dataset.lo] Error 1
In file included from src/cpp/H5HardLink.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Object.hxx:23:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
src/cpp/H5HardLink.cpp: In member function 'org_modules_hdf5::H5Object& org_modules_hdf5::H5HardLink::getLinkedObject() const':
src/cpp/H5HardLink.cpp:34:55: error: 'union H5L_info2_t::<unnamed>' has no member named 'address'
34 | obj = H5Oopen_by_addr(getFile().getH5Id(), info.u.address);
| ^~~~~~~
In file included from src/cpp/H5Link.hxx:19,
from src/cpp/H5SoftLink.hxx:19,
from src/cpp/H5SoftLink.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Object.hxx:23:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
make[3]: *** [Makefile:1516: src/cpp/libscihdf5_algo_la-H5Type.lo] Error 1
make[3]: *** [Makefile:1460: src/cpp/libscihdf5_algo_la-H5Attribute.lo] Error 1
In file included from src/cpp/H5Link.hxx:19,
from src/cpp/H5ExternalLink.hxx:19,
from src/cpp/H5ExternalLink.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Object.hxx:23:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
make[3]: *** [Makefile:1551: src/cpp/libscihdf5_algo_la-H5HardLink.lo] Error 1
In file included from src/cpp/H5Link.hxx:19,
from src/cpp/H5Link.cpp:16:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Object.hxx:23:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
make[3]: *** [Makefile:1537: src/cpp/libscihdf5_algo_la-H5SoftLink.lo] Error 1
make[3]: *** [Makefile:1558: src/cpp/libscihdf5_algo_la-H5Link.lo] Error 1
make[3]: *** [Makefile:1544: src/cpp/libscihdf5_algo_la-H5ExternalLink.lo] Error 1
mv -f src/cpp/.deps/libscihdf5_algo_la-H5AttributesList.Tpo src/cpp/.deps/libscihdf5_algo_la-H5AttributesList.Plo
make[3]: *** [Makefile:1523: src/cpp/libscihdf5_algo_la-H5DataFactory.lo] Error 1
In file included from src/cpp/HDF5Scilab.hxx:23,
from src/cpp/HDF5Scilab.cpp:25:
src/cpp/H5Object.hxx: In member function 'virtual H5O_info2_t org_modules_hdf5::H5Object::getInfo() const':
src/cpp/H5Object.hxx:97:20: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | H5Oget_info(getH5Id(), &info);
| ^
In file included from /usr/include/H5Apublic.h:21,
from /usr/include/hdf5.h:22,
from ./includes/HDF5Objects.h:19,
from src/cpp/H5Exception.hxx:25,
from src/cpp/H5Options.hxx:22,
from src/cpp/HDF5Scilab.hxx:22:
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5Object.hxx: In member function 'virtual haddr_t org_modules_hdf5::H5Object::getAddr() const':
src/cpp/H5Object.hxx:164:26: error: 'H5O_info2_t' {aka 'struct H5O_info2_t'} has no member named 'addr'
164 | return getInfo().addr;
| ^~~~
In file included from src/cpp/H5Group.hxx:24,
from src/cpp/HDF5Scilab.hxx:25:
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::count(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:97:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
97 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In static member function 'static herr_t org_modules_hdf5::H5NamedObjectsList<T>::getElement(hid_t, const char*, const H5L_info2_t*, void*)':
src/cpp/H5NamedObjectsList.hxx:136:34: error: too few arguments to function 'herr_t H5Oget_info3(hid_t, H5O_info2_t*, unsigned int)'
136 | err = H5Oget_info(obj, &oinfo);
| ^
/usr/include/H5Opublic.h:503:15: note: declared here
503 | H5_DLL herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned fields);
| ^~~~~~~~~~~~
src/cpp/H5NamedObjectsList.hxx: In member function 'T& org_modules_hdf5::H5NamedObjectsList<T>::getObject(const std::string&)':
src/cpp/H5NamedObjectsList.hxx:312:34: error: too few arguments to function 'herr_t H5Oget_info_by_name3(hid_t, const char*, H5O_info2_t*, unsigned int, hid_t)'
312 | err = H5Oget_info_by_name(H5Object::getParent().getH5Id(), name.c_str(), &info, H5P_DEFAULT);
| ^
/usr/include/H5Opublic.h:540:15: note: declared here
540 | H5_DLL herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned fields,
| ^~~~~~~~~~~~~~~~~~~~
mv -f src/cpp/.deps/libscihdf5_algo_la-H5Object.Tpo src/cpp/.deps/libscihdf5_algo_la-H5Object.Plo
make[3]: *** [Makefile:1565: src/cpp/libscihdf5_algo_la-HDF5Scilab.lo] Error 1
mv -f src/cpp/.deps/libscihdf5_algo_la-H5Group.Tpo src/cpp/.deps/libscihdf5_algo_la-H5Group.Plo
make[3]: Leaving directory '/tmp/makepkg/scilab/src/scilab-2024.0.0/scilab/modules/hdf5'
make[2]: *** [Makefile:1014: all] Error 2
make[2]: Leaving directory '/tmp/makepkg/scilab/src/scilab-2024.0.0/scilab/modules/hdf5'
make[1]: *** [Makefile:877: all-recursive] Error 1
make[1]: Leaving directory '/tmp/makepkg/scilab/src/scilab-2024.0.0/scilab/modules'
make: *** [Makefile:1675: all-recursive] Error 1
What is the expected correct behavior?
Compiles successfully.