Henrik Bach
2004-Sep-18 20:28 UTC
[LLVMdev] MAXPATHLEN' undeclared (first use this function)
>From: "Henrik Bach" <henrik_bach_llvm at hotmail.com> >Date: Sat, 18 Sep 2004 18:46:26 +0200>MAXPATHLEN is on Interix defined in <limits.h>. > >However, it doesn't seem to have any effect including it before any other >header files in the system specific Path.cpp for Interix as seen above: >--------------------------------- >#include <limits.h> > >// Include the generic Unix implementation >#include "../Unix/Path.cpp" > >... >---------------------------------1) The UAMG says to include all API from Interix one should define _ALL_SOURCE before the first header file included. In the LLVM project preferably on the commandline as -D_ALL_SOURCE because it applies to all source files. 2) Inclusion of <limits.h> in Path.cpp is superflocius, because it is indirectly included from elsewhere. Henrik _________________________________________________________________ Undg� pop-ups med MSN Toolbar - http://toolbar.msn.dk/ hent den gratis!
Seemingly Similar Threads
- [LLVMdev] MAXPATHLEN' undeclared (first use this function)
- [LLVMdev] Native win32 port
- question / errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad
- errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad
- [LLVMdev] tblgen: Assertion failed: "Buffer[Length-1] == '"'", file FileLexer.l, line 114