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: Philip Nienhuis
Subject: Re: unistd.h has to be included twice to avoid compile errors on MinGW
Date: Mon, 01 Oct 2012 19:39:41 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

<address@hidden cc'd>

Bruno Haible wrote:
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.

Isn't the analysis in the thread linked to in my post insufficient? Looks fairly step-by-step to me.

I'm not a MinGW developer - I have mailed this bug report at the request of octave devs (see this thread:
https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2012-August/029710.html
(line wrap!))

Hopefully some MinGW devs can jump in?

Thanks Bruno,

Philip



reply via email to

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