bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unistd.h has to be included twice to avoid compile errors on MinGW


From: Bruno Haible
Subject: Re: unistd.h has to be included twice to avoid compile errors on MinGW
Date: Sun, 30 Sep 2012 23:31:19 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

Hi,

Philip Nienhuis wrote on 2012-08-26:
> See this thread:
> http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00473.html
> 
> When compiling code invoking gnulib under MinGW, the statement
>    #include <unistd.h>
> has to present in duplo to avoid certain errors of the kind: "... is not 
> a member of 'gnulib'" (where ... could be e.g., gethostname, isatty, 
> unlink, etc).
> 
> This issue has not been solved until now; so here's again a request to 
> look into it.

This is a complicated issue that we cannot solve by guesswork. What we need
is an unambiguous step-by-step "how to reproduce" recipe. What source code
file to compile (or alternatively, what sources to download), with which
compiler to configure it (there are many mingw versions floating around), etc.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]