Boost logo

Boost-Build :

Subject: Re: [Boost-build] [PATCH] bjam won't build under cygwin
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-07-20 15:18:58


On Tuesday 20 July 2010 23:02:13 Eric Niebler wrote:

>
> Eric_at_AERIX ~/boost/org/trunk/tools/build/v2/engine/src
> $ ./build.sh
> ###
> ### Using 'gcc' toolset.
> ###
> rm -rf bootstrap
> mkdir bootstrap
> gcc -o bootstrap/jam0 command.c compile.c debug.c expand.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 output.c
> parse.c pathunix.c pathvms.c r
> egexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c
> strings.c filesys.c builtin
> s.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c
> modules/path.c modules/regex.c modules/p
> roperty-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
> expand.c: In function `var_edit_shift':
> expand.c:666: warning: `cygwin_conv_to_win32_path' is deprecated
> (declared at /usr/include/sys/cygwi
> n.h:50)
> expand.c: In function `var_expand_unit_test':
> expand.c:691: warning: `cygwin_conv_to_posix_path' is deprecated
> (declared at /usr/include/sys/cygwi
> n.h:54)
> jam.c: In function `executable_path':
> jam.c:618: error: `argv0' undeclared (first use in this function)
> jam.c:618: error: (Each undeclared identifier is reported only once
> jam.c:618: error: for each function it appears in.)
>
> Patch attached. OK to commit?

Thanks for the patch. But I think it's better to fix the typo in parameter
name, instead, like attached. I've checked this in -- does it work
for you?

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2



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