Closed hmaarrfk closed 2 years ago
I'll remove the WIP once the conda forge builds pass. I hope I didn't get any c-preprocessor macro syntax wrong.
This change looks great, because it introduces support for 1.12 while still working with older versions.
I would like to merge this, but I though I'd test a build without it first. Interestingly, that worked, although I have hdf5 1.12.1. After some digging, I found that my H5pubconf.h
contains #define H5_USE_110_API_DEFAULT 1
.
I learned enough about hdf5 headers now, though, that I trust your patch. ;-)
If H4pubconf.h
is a private header, then it is likely OK to keep that define. I suspect that if it is a public header, it will give some poor developer that depends on vigra a hard time.
Is H5pubconf.h
not inlcuded as part of this file?
I found that my H5pubconf.h contains #define H5_USE_110_API_DEFAULT 1.
Is this referring to a private header of yours, or to a header of Vigra's? I can't find it in the source.
Closes https://github.com/ukoethe/vigra/issues/476
See builds: https://github.com/conda-forge/vigra-feedstock/pull/77
The relevant code in
H5version.h
is: