Skip to content

Commit

Permalink
COMP: Declare H5O__fsinfo_set_version
Browse files Browse the repository at this point in the history
To address:

/emsdk_portable/emscripten/sdk/emcc -D_GNU_SOURCE -IModules/ThirdParty/ZLIB/src -I/ITK/Modules/ThirdParty/ZLIB/src -I/ITK/Modules/ThirdParty/HDF5/src -IModules/ThirdParty/HDF5/src -I/ITK/Modules/ThirdParty/HDF5/src/itkhdf5/src -IModules/ThirdParty/HDF5/src/itkhdf5 -std=c99 -Wno-warn-absolute-paths --memory-init-file 0 -s WASM=0 -lnodefs.js -Wno-almost-asm  -Wno-uninitialized -Wno-unused-parameter -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow  -w -DNDEBUG -O2 -fPIC   -std=gnu99 -MD -MT Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-static.dir/H5Fsuper.c.o -MF Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-static.dir/H5Fsuper.c.o.d -o Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-static.dir/H5Fsuper.c.o   -c /ITK/Modules/ThirdParty/HDF5/src/itkhdf5/src/H5Fsuper.c
/ITK/Modules/ThirdParty/HDF5/src/itkhdf5/src/H5Fsuper.c:1397:16: error: implicit declaration of function 'H5O__fsinfo_set_version' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
            if(H5O__fsinfo_set_version(f, &fsinfo) < 0)
  • Loading branch information
thewtex committed Feb 17, 2021
1 parent 6146b3a commit 09f0b6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/ThirdParty/HDF5/src/itkhdf5/src/H5Fsuper.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
/********************/
static herr_t H5F__super_ext_create(H5F_t *f, H5O_loc_t *ext_ptr);
static herr_t H5F__update_super_ext_driver_msg(H5F_t *f);
static herr_t H5O__fsinfo_set_version(H5F_t *f, H5O_fsinfo_t *fsinfo);


/*********************/
Expand Down

0 comments on commit 09f0b6a

Please sign in to comment.