[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Bug report: Compile with Microsoft and Intel compiler
From: |
Jerker Bäck |
Subject: |
RE: Bug report: Compile with Microsoft and Intel compiler |
Date: |
Wed, 27 Apr 2005 16:04:35 +0200 |
Hello Eli
> > 1) There is no unistd.h anywhere
>
> Okay, that explains many problems.
>
> I think the best solution for this is to add unistd.h to the
> w32/include directory. NMakefile and build_w32.bat already
> set up the compiler to look into that directory for include files.
>
> So could you please show us the MSC prototypes of all the
> functions, which, according to your report and my analysis,
> should come from unistd.h? I will then suggest a version of
> unistd.h to put into w32/include and ask you to try that. Okay?
??? You mean to make an empty "dummy" unistd.h for Windows machines in
w32/include or create a custom windows unistd.h? Your great suggestion of
using "HAVE_STDLIB" instead of all these #if defined(...) is enough, I
think, at least for the MS compiler. Anyway, I will wait for your mail and
continue work with your first reply - there's a lot of things.
List of redefines causing errors
Func Microsoft Borland
--------------------------------
chdir <direct.h> <dir.h>
environ <stdlib.h> <stdlib.h>
getcwd <direct.h> <dir.h>
getenv <stdlib.h> <stdlib.h>
getpid <process.h> <process.h>
mktemp <io.h> -
strerror <string.h> <string.h>
Jerker
- Bug report: Compile with Microsoft and Intel compiler, Jerker Bäck, 2005/04/26
- Bug report: Compile with Microsoft and Intel compiler, Jerker Bäck, 2005/04/26
- Re: Bug report: Compile with Microsoft and Intel compiler, Eli Zaretskii, 2005/04/26
- RE: Bug report: Compile with Microsoft and Intel compiler, Jerker Bäck, 2005/04/27
- Re: Bug report: Compile with Microsoft and Intel compiler, Eli Zaretskii, 2005/04/27
- RE: Bug report: Compile with Microsoft and Intel compiler,
Jerker Bäck <=
- Re: Bug report: Compile with Microsoft and Intel compiler, Eli Zaretskii, 2005/04/27
- RE: Bug report: Compile with Microsoft and Intel compiler, Jerker Bäck, 2005/04/27
- Re: Bug report: Compile with Microsoft and Intel compiler, Alessandro Vesely, 2005/04/28
- RE: Bug report: Compile with Microsoft and Intel compiler, Jerker Bäck, 2005/04/27
- Re: Bug report: Compile with Microsoft and Intel compiler, Eli Zaretskii, 2005/04/27
- w32 unistd.h (was Re: Bug report: Compile with Microsoft and Intel compiler, Alessandro Vesely, 2005/04/28
- Re: w32 unistd.h, Eli Zaretskii, 2005/04/28
- Re: w32 unistd.h, Alessandro Vesely, 2005/04/29
- Re: w32 unistd.h, Eli Zaretskii, 2005/04/29
- RE: Bug report: Compile with Microsoft and Intel compiler, Paul D. Smith, 2005/04/28