hdf5
hdf5 copied to clipboard
[BUG]
Describe the bug A clear and concise description of what the bug is. Build fails when using CMake + Ninja + CLang 14.0 on windows Expected behavior A clear and concise description of what you expected to happen. It should build seamlessly Platform (please complete the following information)
- HDF5 version (if building from a maintenance branch, please include the commit hash)
- OS and version
- Compiler and version
- Build system (e.g. CMake, Autotools) and version
- Any configure options you specified
- MPI library and version (parallel HDF5) Latest checkout from master Windows LLVM/CLang 14.0 for windows CMake + Ninja Nothing specific None
Additional context Add any other context about the problem here. PS D:\build_ninja\hdf5> ninja [1/539] Building C object src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.obj In file included from D:/srcs/hdf5/src/H5make_libsettings.c:35: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 1 warning generated. [2/539] Building C object src/CMakeFiles/H5detect.dir/H5detect.c.obj In file included from D:/srcs/hdf5/src/H5detect.c:45: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 1 warning generated. [7/539] Building C object src/CMakeFiles/hdf5-static.dir/H5mpi.c.obj In file included from D:/srcs/hdf5/src/H5mpi.c:19: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 2 warnings generated. [8/539] Building C object src/CMakeFiles/hdf5-static.dir/H5dbg.c.obj In file included from D:/srcs/hdf5/src/H5dbg.c:33: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 2 warnings generated. [9/539] Building C object src/CMakeFiles/hdf5-static.dir/H5Adeprec.c.obj In file included from D:/srcs/hdf5/src/H5Adeprec.c:38: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 2 warnings generated. [10/539] Building C object src/CMakeFiles/hdf5-static.dir/H5A.c.obj In file included from D:/srcs/hdf5/src/H5A.c:24: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 2 warnings generated. [11/539] Building C object src/CMakeFiles/hdf5-static.dir/H5Atest.c.obj In file included from D:/srcs/hdf5/src/H5Atest.c:33: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 2 warnings generated. [12/539] Building C object src/CMakeFiles/hdf5-static.dir/H5timer.c.obj In file included from D:/srcs/hdf5/src/H5timer.c:32: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 2 warnings generated. [13/539] Building C object src/CMakeFiles/hdf5-static.dir/H5Adense.c.obj In file included from D:/srcs/hdf5/src/H5Adense.c:36: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ 2 warnings generated. [14/539] Building C object src/CMakeFiles/hdf5-static.dir/H5Abtree2.c.obj In file included from D:/srcs/hdf5/src/H5Abtree2.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ D:/srcs/hdf5/src/H5Abtree2.c:300:88: warning: unused parameter 'ctx' [-Wunused-parameter] H5A__dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_UNUSED *ctx) ^ D:/srcs/hdf5/src/H5Abtree2.c:330:88: warning: unused parameter 'ctx' [-Wunused-parameter] H5A__dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_UNUSED *ctx) ^ D:/srcs/hdf5/src/H5Abtree2.c:361:57: warning: unused parameter '_udata' [-Wunused-parameter] const void H5_ATTR_UNUSED *_udata) ^ D:/srcs/hdf5/src/H5Abtree2.c:453:90: warning: unused parameter 'ctx' [-Wunused-parameter] H5A__dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_UNUSED *ctx) ^ D:/srcs/hdf5/src/H5Abtree2.c:482:90: warning: unused parameter 'ctx' [-Wunused-parameter] H5A__dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_UNUSED *ctx) ^ D:/srcs/hdf5/src/H5Abtree2.c:512:59: warning: unused parameter '_udata' [-Wunused-parameter] const void H5_ATTR_UNUSED *_udata) ^ 8 warnings generated. [15/539] Building C object src/CMakeFiles/hdf5-static.dir/H5ACproxy_entry.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5ACproxy_entry.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5ACproxy_entry.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5ACproxy_entry.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5ACproxy_entry.c.obj -c D:/srcs/hdf5/src/H5ACproxy_entry.c In file included from D:/srcs/hdf5/src/H5ACproxy_entry.c:33: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5ACproxy_entry.c:34: In file included from D:/srcs/hdf5/src/H5ACpkg.h:37: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ D:/srcs/hdf5/src/H5ACproxy_entry.c:246:66: warning: unused parameter '_key' [-Wunused-parameter] H5AC__proxy_entry_add_child_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata) ^ D:/srcs/hdf5/src/H5ACproxy_entry.c:339:69: warning: unused parameter '_key' [-Wunused-parameter] H5AC__proxy_entry_remove_child_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata) ^ D:/srcs/hdf5/src/H5ACproxy_entry.c:452:56: warning: unused parameter 'thing' [-Wunused-parameter] H5AC__proxy_entry_image_len(const void H5_ATTR_UNUSED *thing, size_t *image_len) ^ D:/srcs/hdf5/src/H5ACproxy_entry.c:480:57: warning: unused parameter 'f' [-Wunused-parameter] H5AC__proxy_entry_serialize(const H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED *image, ^ D:/srcs/hdf5/src/H5ACproxy_entry.c:480:81: warning: unused parameter 'image' [-Wunused-parameter] H5AC__proxy_entry_serialize(const H5F_t H5_ATTR_UNUSED *f, void H5_ATTR_UNUSED *image, ^ D:/srcs/hdf5/src/H5ACproxy_entry.c:481:51: warning: unused parameter 'len' [-Wunused-parameter] size_t H5_ATTR_UNUSED len, void H5_ATTR_UNUSED *thing) ^ D:/srcs/hdf5/src/H5ACproxy_entry.c:481:77: warning: unused parameter 'thing' [-Wunused-parameter] size_t H5_ATTR_UNUSED len, void H5_ATTR_UNUSED *thing) ^ 9 warnings and 2 errors generated. [16/539] Building C object src/CMakeFiles/hdf5-static.dir/H5ACmpio.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5ACmpio.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5ACmpio.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5ACmpio.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5ACmpio.c.obj -c D:/srcs/hdf5/src/H5ACmpio.c In file included from D:/srcs/hdf5/src/H5ACmpio.c:36: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5ACmpio.c:37: In file included from D:/srcs/hdf5/src/H5ACpkg.h:37: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [17/539] Building C object src/CMakeFiles/hdf5-static.dir/H5.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5.c.obj -c D:/srcs/hdf5/src/H5.c In file included from D:/srcs/hdf5/src/H5.c:22: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5.c:23: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [18/539] Building C object src/CMakeFiles/hdf5-static.dir/H5Aint.c.obj In file included from D:/srcs/hdf5/src/H5Aint.c:35: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ D:/srcs/hdf5/src/H5Aint.c:1512:51: warning: unused parameter 'oh' [-Wunused-parameter] H5A__compact_build_table_cb(H5O_t H5_ATTR_UNUSED *oh, H5O_mesg_t *mesg /in,out/, unsigned sequence, ^ D:/srcs/hdf5/src/H5Aint.c:1513:54: warning: unused parameter 'oh_modified' [-Wunused-parameter] unsigned H5_ATTR_UNUSED *oh_modified, void *_udata /in,out/) ^ D:/srcs/hdf5/src/H5Aint.c:2167:55: warning: unused parameter 'cpy_info' [-Wunused-parameter] H5O_copy_t H5_ATTR_NDEBUG_UNUSED *cpy_info) ^ 5 warnings generated. [19/539] Building C object src/CMakeFiles/hdf5-static.dir/H5ACdbg.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5ACdbg.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5ACdbg.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5ACdbg.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5ACdbg.c.obj -c D:/srcs/hdf5/src/H5ACdbg.c In file included from D:/srcs/hdf5/src/H5ACdbg.c:32: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5ACdbg.c:33: In file included from D:/srcs/hdf5/src/H5ACpkg.h:37: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [20/539] Building C object src/CMakeFiles/hdf5-static.dir/H5Bdbg.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5Bdbg.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5Bdbg.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5Bdbg.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5Bdbg.c.obj -c D:/srcs/hdf5/src/H5Bdbg.c In file included from D:/srcs/hdf5/src/H5Bdbg.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5Bdbg.c:35: In file included from D:/srcs/hdf5/src/H5Bpkg.h:30: In file included from D:/srcs/hdf5/src/H5Bprivate.h:30: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [21/539] Building C object src/CMakeFiles/hdf5-static.dir/H5trace.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5trace.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5trace.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5trace.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5trace.c.obj -c D:/srcs/hdf5/src/H5trace.c In file included from D:/srcs/hdf5/src/H5trace.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5trace.c:35: In file included from D:/srcs/hdf5/src/H5Dprivate.h:24: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [22/539] Building C object src/CMakeFiles/hdf5-static.dir/H5checksum.c.obj In file included from D:/srcs/hdf5/src/H5checksum.c:33: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ D:/srcs/hdf5/src/H5checksum.c:420:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 11: ^ D:/srcs/hdf5/src/H5checksum.c:420:9: note: insert 'attribute((fallthrough));' to silence this warning case 11: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:420:9: note: insert 'break;' to avoid fall-through case 11: ^ break; D:/srcs/hdf5/src/H5checksum.c:424:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 10: ^ D:/srcs/hdf5/src/H5checksum.c:424:9: note: insert 'attribute((fallthrough));' to silence this warning case 10: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:424:9: note: insert 'break;' to avoid fall-through case 10: ^ break; D:/srcs/hdf5/src/H5checksum.c:428:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 9: ^ D:/srcs/hdf5/src/H5checksum.c:428:9: note: insert 'attribute((fallthrough));' to silence this warning case 9: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:428:9: note: insert 'break;' to avoid fall-through case 9: ^ break; D:/srcs/hdf5/src/H5checksum.c:432:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 8: ^ D:/srcs/hdf5/src/H5checksum.c:432:9: note: insert 'attribute((fallthrough));' to silence this warning case 8: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:432:9: note: insert 'break;' to avoid fall-through case 8: ^ break; D:/srcs/hdf5/src/H5checksum.c:436:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 7: ^ D:/srcs/hdf5/src/H5checksum.c:436:9: note: insert 'attribute((fallthrough));' to silence this warning case 7: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:436:9: note: insert 'break;' to avoid fall-through case 7: ^ break; D:/srcs/hdf5/src/H5checksum.c:440:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 6: ^ D:/srcs/hdf5/src/H5checksum.c:440:9: note: insert 'attribute((fallthrough));' to silence this warning case 6: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:440:9: note: insert 'break;' to avoid fall-through case 6: ^ break; D:/srcs/hdf5/src/H5checksum.c:444:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 5: ^ D:/srcs/hdf5/src/H5checksum.c:444:9: note: insert 'attribute((fallthrough));' to silence this warning case 5: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:444:9: note: insert 'break;' to avoid fall-through case 5: ^ break; D:/srcs/hdf5/src/H5checksum.c:448:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 4: ^ D:/srcs/hdf5/src/H5checksum.c:448:9: note: insert 'attribute((fallthrough));' to silence this warning case 4: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:448:9: note: insert 'break;' to avoid fall-through case 4: ^ break; D:/srcs/hdf5/src/H5checksum.c:452:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 3: ^ D:/srcs/hdf5/src/H5checksum.c:452:9: note: insert 'attribute((fallthrough));' to silence this warning case 3: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:452:9: note: insert 'break;' to avoid fall-through case 3: ^ break; D:/srcs/hdf5/src/H5checksum.c:456:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 2: ^ D:/srcs/hdf5/src/H5checksum.c:456:9: note: insert 'attribute((fallthrough));' to silence this warning case 2: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:456:9: note: insert 'break;' to avoid fall-through case 2: ^ break; D:/srcs/hdf5/src/H5checksum.c:460:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 1: ^ D:/srcs/hdf5/src/H5checksum.c:460:9: note: insert 'attribute((fallthrough));' to silence this warning case 1: ^ attribute((fallthrough)); D:/srcs/hdf5/src/H5checksum.c:460:9: note: insert 'break;' to avoid fall-through case 1: ^ break; 13 warnings generated. [23/539] Building C object src/CMakeFiles/hdf5-static.dir/H5system.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5system.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5system.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5system.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5system.c.obj -c D:/srcs/hdf5/src/H5system.c In file included from D:/srcs/hdf5/src/H5system.c:33: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5system.c:35: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ D:/srcs/hdf5/src/H5system.c:84:39: warning: format string is not a string literal [-Wformat-nonliteral] ret = HDvsnprintf(buf, bufsz, fmt, ap); ^~~ D:/srcs/hdf5/src/H5private.h:1589:51: note: expanded from macro 'HDvsnprintf' #define HDvsnprintf(S, N, FMT, A) vsnprintf(S, N, FMT, A) ^~~ D:/srcs/hdf5/src/H5system.c:190:27: warning: unused parameter 'fd' [-Wunused-parameter] Nflock(int H5_ATTR_UNUSED fd, int H5_ATTR_UNUSED operation) ^ D:/srcs/hdf5/src/H5system.c:190:50: warning: unused parameter 'operation' [-Wunused-parameter] Nflock(int H5_ATTR_UNUSED fd, int H5_ATTR_UNUSED operation) ^ D:/srcs/hdf5/src/H5system.c:256:17: error: use of undeclared identifier 'timezone' the_time -= timezone - (tm->tm_isdst ? 3600 : 0); ^ D:/srcs/hdf5/src/H5system.c:302:42: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] Wgettimeofday(struct timeval *tv, struct timezone *tz) ^ D:/srcs/hdf5/src/H5system.c:302:1: error: conflicting types for 'Wgettimeofday' Wgettimeofday(struct timeval *tv, struct timezone *tz) ^ D:/srcs/hdf5/src/H5win32defs.h:101:17: note: previous declaration is here H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ D:/srcs/hdf5/src/H5system.c:322:11: error: incomplete definition of type 'struct timezone' tz->tz_minuteswest = _timezone / 60; ~~^ D:/srcs/hdf5/src/H5system.c:302:42: note: forward declaration of 'struct timezone' Wgettimeofday(struct timeval *tv, struct timezone *tz) ^ D:/srcs/hdf5/src/H5system.c:323:11: error: incomplete definition of type 'struct timezone' tz->tz_dsttime = _daylight; ~~^ D:/srcs/hdf5/src/H5system.c:302:42: note: forward declaration of 'struct timezone' Wgettimeofday(struct timeval *tv, struct timezone *tz) ^ D:/srcs/hdf5/src/H5system.c:426:51: warning: implicit conversion from 'ULONGLONG' (aka 'unsigned long long') to 'float' may lose precision [-Wimplicit-int-float-conversion] tvs->system = (double)(kernel_start.QuadPart / 1.0E7F); ~~~~~~~~~~~~~^~~~~~~~ ~ D:/srcs/hdf5/src/H5system.c:430:47: warning: implicit conversion from 'ULONGLONG' (aka 'unsigned long long') to 'float' may lose precision [-Wimplicit-int-float-conversion] tvs->user = (double)(user_start.QuadPart / 1.0E7F); ~~~~~~~~~~~^~~~~~~~ ~ D:/srcs/hdf5/src/H5system.c:470:50: warning: cast from function call of type 'intptr_t' (aka 'long long') to non-matching type 'HANDLE' (aka 'void *') [-Wbad-function-cast] if (INVALID_HANDLE_VALUE == (hFile = (HANDLE)_get_osfhandle(fd))) ^~~~~~~~~~~~~~~~~~ D:/srcs/hdf5/src/H5system.c:838:35: warning: cast from function call of type 'double' to non-matching type 'DWORD' (aka 'unsigned long') [-Wbad-function-cast] DWORD dwMilliseconds = (DWORD)HDceil(nanosec / 1.0e6); ^~~~~~~~~~~~~~~~~~~~~~~ D:/srcs/hdf5/src/H5private.h:700:19: note: expanded from macro 'HDceil' #define HDceil(X) ceil(X) ^~~~~~~ D:/srcs/hdf5/src/H5system.c:838:42: warning: implicit conversion from 'uint64_t' (aka 'unsigned long long') to 'double' may lose precision [-Wimplicit-int-float-conversion] DWORD dwMilliseconds = (DWORD)HDceil(nanosec / 1.0e6); ^~~~~~~ ~ D:/srcs/hdf5/src/H5private.h:700:24: note: expanded from macro 'HDceil' #define HDceil(X) ceil(X) ^ D:/srcs/hdf5/src/H5system.c:839:11: warning: variable 'ignore' set but not used [-Wunused-but-set-variable] DWORD ignore; ^ D:/srcs/hdf5/src/H5system.c:906:20: warning: implicit conversion changes signedness: 'DWORD' (aka 'unsigned long') to 'long' [-Wsign-conversion] if ((n_chars = ExpandEnvironmentStringsA(*env_var, temp_buf, H5_WIN32_ENV_VAR_BUFFER_SIZE)) > ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings and 6 errors generated. [24/539] Building C object src/CMakeFiles/hdf5-static.dir/H5B.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5B.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5B.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5B.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5B.c.obj -c D:/srcs/hdf5/src/H5B.c In file included from D:/srcs/hdf5/src/H5B.c:103: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5B.c:104: In file included from D:/srcs/hdf5/src/H5Bpkg.h:30: In file included from D:/srcs/hdf5/src/H5Bprivate.h:30: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [25/539] Building C object src/CMakeFiles/hdf5-static.dir/H5B2.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5B2.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5B2.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5B2.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5B2.c.obj -c D:/srcs/hdf5/src/H5B2.c In file included from D:/srcs/hdf5/src/H5B2.c:39: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5B2.c:40: In file included from D:/srcs/hdf5/src/H5B2pkg.h:30: In file included from D:/srcs/hdf5/src/H5B2private.h:29: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [26/539] Building C object src/CMakeFiles/hdf5-static.dir/H5AC.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5AC.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5AC.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5AC.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5AC.c.obj -c D:/srcs/hdf5/src/H5AC.c In file included from D:/srcs/hdf5/src/H5AC.c:39: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5AC.c:40: In file included from D:/srcs/hdf5/src/H5ACpkg.h:37: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ D:/srcs/hdf5/src/H5AC.c:2173:41: warning: unused parameter 'f' [-Wunused-parameter] *f, ^ 3 warnings and 2 errors generated. [27/539] Building C object src/CMakeFiles/hdf5-static.dir/H5Bcache.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5Bcache.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5Bcache.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5Bcache.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5Bcache.c.obj -c D:/srcs/hdf5/src/H5Bcache.c In file included from D:/srcs/hdf5/src/H5Bcache.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5Bcache.c:35: In file included from D:/srcs/hdf5/src/H5Bpkg.h:30: In file included from D:/srcs/hdf5/src/H5Bprivate.h:30: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ D:/srcs/hdf5/src/H5Bcache.c:132:66: warning: unused parameter 'len' [-Wunused-parameter] H5B__cache_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata, ^ D:/srcs/hdf5/src/H5Bcache.c:133:48: warning: unused parameter 'dirty' [-Wunused-parameter] hbool_t H5_ATTR_UNUSED *dirty) ^ 4 warnings and 2 errors generated. [28/539] Building C object src/CMakeFiles/hdf5-static.dir/H5B2dbg.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5B2dbg.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5B2dbg.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5B2dbg.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5B2dbg.c.obj -c D:/srcs/hdf5/src/H5B2dbg.c In file included from D:/srcs/hdf5/src/H5B2dbg.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5B2dbg.c:35: In file included from D:/srcs/hdf5/src/H5B2pkg.h:30: In file included from D:/srcs/hdf5/src/H5B2private.h:29: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ D:/srcs/hdf5/src/H5B2dbg.c:81:59: warning: unused parameter 'type' [-Wunused-parameter] const H5B2_class_t H5_ATTR_NDEBUG_UNUSED *type, haddr_t H5_ATTR_NDEBUG_UNUSED obj_addr) ^ D:/srcs/hdf5/src/H5B2dbg.c:81:95: warning: unused parameter 'obj_addr' [-Wunused-parameter] const H5B2_class_t H5_ATTR_NDEBUG_UNUSED *type, haddr_t H5_ATTR_NDEBUG_UNUSED obj_addr) ^ D:/srcs/hdf5/src/H5B2dbg.c:160:96: warning: unused parameter 'obj_addr' [-Wunused-parameter] haddr_t hdr_addr, unsigned nrec, unsigned depth, haddr_t H5_ATTR_NDEBUG_UNUSED obj_addr) ^ D:/srcs/hdf5/src/H5B2dbg.c:261:81: warning: unused parameter 'obj_addr' [-Wunused-parameter] haddr_t hdr_addr, unsigned nrec, haddr_t H5_ATTR_NDEBUG_UNUSED obj_addr) ^ 6 warnings and 2 errors generated. [29/539] Building C object src/CMakeFiles/hdf5-static.dir/H5B2cache.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5B2cache.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5B2cache.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5B2cache.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5B2cache.c.obj -c D:/srcs/hdf5/src/H5B2cache.c In file included from D:/srcs/hdf5/src/H5B2cache.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5B2cache.c:35: In file included from D:/srcs/hdf5/src/H5B2pkg.h:30: In file included from D:/srcs/hdf5/src/H5B2private.h:29: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ D:/srcs/hdf5/src/H5B2cache.c:195:84: warning: unused parameter '_udata' [-Wunused-parameter] H5B2__cache_hdr_verify_chksum(const void *_image, size_t len, void H5_ATTR_UNUSED *_udata) ^ D:/srcs/hdf5/src/H5B2cache.c:230:71: warning: unused parameter 'len' [-Wunused-parameter] H5B2__cache_hdr_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata, ^ D:/srcs/hdf5/src/H5B2cache.c:231:53: warning: unused parameter 'dirty' [-Wunused-parameter] hbool_t H5_ATTR_UNUSED *dirty) ^ D:/srcs/hdf5/src/H5B2cache.c:356:79: warning: unused parameter 'len' [-Wunused-parameter] H5B2__cache_hdr_serialize(const H5F_t *f, void *_image, size_t H5_ATTR_UNUSED len, void *_thing) ^ D:/srcs/hdf5/src/H5B2cache.c:576:73: warning: unused parameter 'len' [-Wunused-parameter] H5B2__cache_int_verify_chksum(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata) ^ D:/srcs/hdf5/src/H5B2cache.c:618:71: warning: unused parameter 'len' [-Wunused-parameter] H5B2__cache_int_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata, ^ D:/srcs/hdf5/src/H5B2cache.c:619:53: warning: unused parameter 'dirty' [-Wunused-parameter] hbool_t H5_ATTR_UNUSED *dirty) ^ D:/srcs/hdf5/src/H5B2cache.c:995:74: warning: unused parameter 'len' [-Wunused-parameter] H5B2__cache_leaf_verify_chksum(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata) ^ D:/srcs/hdf5/src/H5B2cache.c:1036:72: warning: unused parameter 'len' [-Wunused-parameter] H5B2__cache_leaf_deserialize(const void *_image, size_t H5_ATTR_UNUSED len, void *_udata, ^ D:/srcs/hdf5/src/H5B2cache.c:1037:54: warning: unused parameter 'dirty' [-Wunused-parameter] hbool_t H5_ATTR_UNUSED *dirty) ^ D:/srcs/hdf5/src/H5B2cache.c:1163:56: warning: unused parameter 'f' [-Wunused-parameter] H5B2__cache_leaf_serialize(const H5F_t H5_ATTR_UNUSED *f, void *_image, size_t H5_ATTR_UNUSED len, ^ 13 warnings and 2 errors generated. [30/539] Building C object src/CMakeFiles/hdf5-static.dir/H5B2int.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5B2int.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5B2int.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5B2int.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5B2int.c.obj -c D:/srcs/hdf5/src/H5B2int.c In file included from D:/srcs/hdf5/src/H5B2int.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5B2int.c:35: In file included from D:/srcs/hdf5/src/H5B2pkg.h:30: In file included from D:/srcs/hdf5/src/H5B2private.h:29: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [31/539] Building C object src/CMakeFiles/hdf5-static.dir/H5B2hdr.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5B2hdr.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5B2hdr.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5B2hdr.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5B2hdr.c.obj -c D:/srcs/hdf5/src/H5B2hdr.c In file included from D:/srcs/hdf5/src/H5B2hdr.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5B2hdr.c:35: In file included from D:/srcs/hdf5/src/H5B2pkg.h:30: In file included from D:/srcs/hdf5/src/H5B2private.h:29: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. [32/539] Building C object src/CMakeFiles/hdf5-static.dir/H5B2internal.c.obj FAILED: src/CMakeFiles/hdf5-static.dir/H5B2internal.c.obj C:\PROGRA~1\LLVM\bin\clang.exe -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -ID:/srcs/hdf5/src -ID:/srcs/hdf5/src/H5FDsubfiling -ID:/build_ninja/hdf5/src -std=c99 -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -Wall -Warray-bounds -Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var -Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration -Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow -Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wformat -Wno-missing-noreturn -std=gnu99 -MD -MT src/CMakeFiles/hdf5-static.dir/H5B2internal.c.obj -MF src\CMakeFiles\hdf5-static.dir\H5B2internal.c.obj.d -o src/CMakeFiles/hdf5-static.dir/H5B2internal.c.obj -c D:/srcs/hdf5/src/H5B2internal.c In file included from D:/srcs/hdf5/src/H5B2internal.c:34: In file included from D:/srcs/hdf5/src/H5private.h:622: D:/srcs/hdf5/src/H5win32defs.h:33:9: warning: extension used [-Wlanguage-extension-token] typedef __int64 h5_stat_size_t; ^ D:/srcs/hdf5/src/H5win32defs.h:101:58: warning: declaration of 'struct timezone' will not be visible outside of this function [-Wvisibility] H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); ^ In file included from D:/srcs/hdf5/src/H5B2internal.c:35: In file included from D:/srcs/hdf5/src/H5B2pkg.h:30: In file included from D:/srcs/hdf5/src/H5B2private.h:29: In file included from D:/srcs/hdf5/src/H5ACprivate.h:33: In file included from D:/srcs/hdf5/src/H5Cprivate.h:33: In file included from D:/srcs/hdf5/src/H5Fprivate.h:29: In file included from D:/srcs/hdf5/src/H5FDprivate.h:26: In file included from D:/srcs/hdf5/src/H5Pprivate.h:24: D:/srcs/hdf5/src/H5Ppublic.h:5793:31: error: unknown type name 'off_t' off_t *offset /out/, hsize_t *size /out/); ^ D:/srcs/hdf5/src/H5Ppublic.h:6296:65: error: unknown type name 'off_t' H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size); ^ 2 warnings and 2 errors generated. ninja: build stopped: subcommand failed.
We need to know the config command - because we do use ninja in our Github CI checks.
how do I get the config ? I used default Cmake settings. Anything specific I should try?
Default CMake? Did you use the ccmake gui, command line, script to configure? See the release_docs folder for INSTALL_* guides.
CMakeCache.txt I Used cmake gui and set to build static libraries only
You did specify the ninja generator, otherwise I think it may choose a VS default. (actually, I just checked, we specify the VS as the generator even though we install ninja. Investigating) You do have a version of VS installed. Maybe look at the CMakeCache.txt, or the CMake configure files to see what CMake has really configured.
I have attached the CMakeCache.txt
This is the CMakeCache file.
For build in directory: d:/build_ninja/hdf5
It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe
You can edit this file to change values found and used by cmake.
If you do not want to change any of the values, simply exit the editor.
If you do want to change a value, simply edit, save, and exit the editor.
The syntax for the file is as follows:
KEY:TYPE=VALUE
KEY is the name of a variable in the cache.
TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
VALUE is the current value for the KEY.
########################
EXTERNAL cache entries
########################
//Allow unsupported combinations of configure options ALLOW_UNSUPPORTED:BOOL=OFF
//Build Shared Libraries BUILD_SHARED_LIBS:BOOL=OFF
//Build Static Executables BUILD_STATIC_EXECS:BOOL=OFF
//Build Static Libraries BUILD_STATIC_LIBS:BOOL=ON
//Build HDF5 Unit Testing BUILD_TESTING:BOOL=OFF
//Build With User Defined Values BUILD_USER_DEFINED_LIBS:BOOL=OFF
//Path to a program. CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND
//Path to a program. CMAKE_AR:FILEPATH=C:/Program Files/LLVM/bin/llvm-ar.exe
//Single Directory for all static libraries. CMAKE_ARCHIVE_OUTPUT_DIRECTORY:PATH=D:/build_ninja/hdf5/bin
//Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Release
//CXX compiler. CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/LLVM/bin/clang++.exe
//C compiler CMAKE_C_COMPILER:STRING=C:/Program Files/LLVM/bin/clang.exe
So it is clang that is being selected.
I've looked through the cache and did not see anything obvious.
CMake + Ninja works now. Closing.