OK, so you need three or four lines to #ifdef correctly
hdf5-1.10.5/src/H5win32defs.h: Line 57:
#define HDopen(S,F,…) _open(S, F | _O_BINARY, VA_ARGS)
Should be:
#ifdef GNU
#define HDopen(S,F,…) _open(S, F | _O_BINARY, ##VA_ARGS)
#else
#define HDopen(S,F,…) _open(S, F | _O_BINARY, VA_ARGS)
#endif
Both of these variadic define’s are non-standard vendor specific compiler instructions for dealing with the dangling comma of a variadic. It’s almost too small for a formal patch, but how do you guys like to receive trivial patches?
/bbaker