Subject: [Boost-build] Build warning on darwin
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2012-04-14 14:25:43


Hi,

Building bjam with gcc on Lion generates this warning. I'm not exactly sure how to fix it so thought I'd pass it along.

-- Noel

sanj2010-112-2:engine kbelco$ ./build.sh
###
### Using 'darwin' toolset.
###
rm -rf bootstrap
mkdir bootstrap
cc -o bootstrap/jam0 command.c compile.c constants.c debug.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathunix.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 md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
function.c: In function ‘argument_list_print’:
function.c:3109: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘struct OBJECT *’
function.c:3109: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘struct OBJECT *’
./bootstrap/jam0 -f build.jam --toolset=darwin --toolset-root= clean