HDFGroup / vol-cache

HDF5 Cache VOL connector for caching data on fast storage layers and moving data asynchronously to the parallel file system to hide I/O overhead.
https://vol-cache.readthedocs.io
BSD 3-Clause "New" or "Revised" License
16 stars 8 forks source link

C99 mode code fails to compile on some compilers. #11

Closed hyoklee closed 2 years ago

hyoklee commented 3 years ago

Here's an example.

jilng4je2b43euhocd4/spack-src/src/H5LS_SSD.c:32:3: error: 'for' loop initial declar\
ations are only allowed in C99 mode
     44        for(int i=0; i<nseq; i++) {
     45        ^
zhenghh04 commented 2 years ago

Fixed this issue now. defined the variable outside of the loop