I am updating med-4.1.1 to med-5.0.0 in Gentoo Linux, but we get some errors with gcc version 15 [1] for both medfile 4.1.1 and 5.0.0.
Currently we temporarily fix it by adding
CFLAGS="${CFLAGS} -std=gnu17"
If there would be a git repository for medfile I’d be happy to try to submit a patch.
Best,
APN