Hi list. I managed to build gnulib using MSVC v16 (i.e. Visual Studio 2010 Express). All was okay except for a little C99-feature (of data after code which my v16 doesn't support).
So can you please apply this patch? --- orig/lib/fts.c 2014-11-08 12:19:14 +0000 +++ lib/fts.c 2014-11-08 12:23:21 +0000 @@ -1293,6 +1293,7 @@ int dir_fd; FTSENT *cur = sp->fts_cur; bool continue_readdir = !!cur->fts_dirp; + size_t max_entries; /* When cur->fts_dirp is non-NULL, that means we should continue calling readdir on that existing DIR* pointer @@ -1354,7 +1355,7 @@ function. But when no such function is specified, we can read entries in batches that are large enough to help us with inode- sorting, yet not so large that we risk exhausting memory. */ - size_t max_entries = (sp->fts_compar == NULL + max_entries = (sp->fts_compar == NULL ? FTS_MAX_READDIR_ENTRIES : SIZE_MAX); /* -- --gv