> This fails to build with MinGW on MS-Windows, because Gnulib's > vasprintf.c doesn't compile. The reason for that is that Gnulib's > alloca.in.h included in the tarball misses a few lines that are needed > for MinGW: > > # ifdef __GNUC__ > /* Some version of mingw have an <alloca.h> that causes trouble when > included after 'alloca' gets defined as a macro. As a workaround, > include > this <alloca.h> first and define 'alloca' as a macro afterwards. */ > # if (defined _WIN32 && ! defined __CYGWIN__) && @HAVE_ALLOCA_H@ > # include_next <alloca.h> > # endif > # define alloca __builtin_alloca > > This fragment is present both in the current Gnulib's Git repository > and in the previous pretest, so I'm unsure what kind of snafu could > have caused this.
It seems that I never committed and pushed the gnulib updates for the previous pretest, and those commits have been lost on my old computer. I will make a new pretest with the gnulib updates.
