Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-08-27 08:27:35


On 08/27/2004 02:22 AM, Vladimir Prus wrote:
[snip]
>
> Could you check if plain '<limits.h>' works on Como? Like this:
>
> #if defined(NT) && ! defined(__GNUC__)
> #include <direct.h>
> #define PATH_MAX _MAX_PATH
> #else
> #include <limits.h>
> #endif

Sorry :( . Got following output:
<------------

cd
/home/evansl/prog_dev/boost-snapshot/boost-04-08-25-1800/tools/build/jam_src/
./build.sh como
###
### Using 'como' toolset.
###
rm -rf bootstrap.como
mkdir bootstrap.como

...

pwd.c:
Comeau C/C++ 4.3.3 (Jan 30 2004 15:40:54) for LINUX_INTEL_ELF
Copyright 1988-2004 Comeau Computing. All rights reserved.
MODE:non-strict warnings C90

"pwd.c", line 21: error: identifier "PATH_MAX" is undefined
char buffer[PATH_MAX];
^

"pwd.c", line 22: error: operand types are incompatible ("int" and "void *")
if (getcwd(buffer, sizeof(buffer)) == NULL)
^

2 errors detected in the compilation of "pwd.c".
class.c:

...

>------------

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk