Reuben Thomas wrote:
> It's not really that I'm doing anything: gnulib seems to detect MSYS as
> being a POSIX platform.
Not really; something in the configure step (which you haven't shown)
made it "detect" some POSIX threads facility.
MSYS has a pthreads library, maybe it doesn't work well enough for gnulib. When I built for mingw32/64, I had no problem.
> In the end I tried something a bit different, which was to reduce the
> number of gnulib modules I was using, as for the code I'm writing it seemed
> reasonable to assume C99 and POSIX.1-2008.
?? That makes no sense to me. Either you want to assume POSIX, or you want
to support native Windows. You can't do both at the same time.
I am supporting MSYS, mingw32 and mingw64; all of those work fine if I assume POSIX.