>>>>> "Paul" == Paul Eggert <[email protected]> writes:
Paul> On 11/20/2013 07:09 AM, Tom Tromey wrote: >> However, after some exploration I discovered that I could eliminate the >> gethostname error by dropping the strstr and strerror modules. Paul> Thanks, I assume the problem is fixed then, at least for you. Yes. Paul> I think the gethostname disaster is because we have to include Paul> winsock2.h before defining our own gethostname, to avoid Paul> clashes with the system gethostname. Or something. Paul> (I don't use Windows.) It seems like there must be another way. But I don't actually use Windows, either, I just sometimes do a cross-build to verify that a patch at least still builds there. Also mysterious to me is why the strerror module would have this impact. That is, with strerror, the gnulib unistd.h requires me to import the gethostname module. Without strerror, it works fine. Tom
