|
Boost-Build : |
From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2004-09-20 09:49:02
At Monday 2004-09-20 07:00, you wrote:
>With the following download from boost consulting:
>
> boost-04-09-20-0500
>
>I get:
><------------
>cd ~/prog_dev/boost-snapshot/boost-04-09-20-0500/tools/build/jam_src/
>../build.sh como
>###
>### Using 'como' toolset.
>###
>rm -rf bootstrap.como
>mkdir bootstrap.como
>como --c -o bootstrap.como/jam0 command.c compile.c execnt.c execunix.c
>execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c
>hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c
>newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c
>search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c
>builtins.c pwd.c class.c native.c modules/set.c modules/path.c
>modules/regex.c modules/property-set.c modules/sequence.c modules/order.c
>
>....
>
>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 29: error: operand types are incompatible ("int" and "void *")
> if (getcwd(buffer, sizeof(buffer)) == NULL)
> ^
>
>1 error detected in the compilation of "pwd.c".
The error was introduced in v1.8 of pwd.c by removing the line
#include <unistd.h>
so now the compiler no longer knows that getcwd() returns a char* and
defaults to int
I suspect strongly that the line should be put back in
here's what cvs log pwd.c shows:
revision 1.8
date: 2004/08/30 08:22:02; author: vladimir_prus; state: Exp; lines: +4 -1
Comeau fixes.
Patch from Larry Evans.
and............
C:\Projects\boost\tools\build\jam_src>cvs diff -r1.7 -r1.8 pwd.c
Index: pwd.c
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/jam_src/pwd.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -r1.7 -r1.8
13c13,16
< #include <unistd.h>
--- > #include <limits.h> > #if defined(__COMO__) > #include <linux/limits.h> > #endif > >------------ > >where como version is 4.3.3. > > > > > > > > >Yahoo! Groups Links > > > > Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
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