|
Boost-Build : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-07-30 04:42:21
Jurko GospodnetiÄ wrote:
> Hi Juergen.
>
> Thanks for the information.
>
> Here's a patch for the gcc.jam toolset module that should add the
> template-depth feature you need.
[...]
The need for specifying the template depth has just come up for
boost.integer on cxx and acc, which both default to 64.
I tried adding
flags hp_cxx.compile.c++ OPTIONS <c++-template-depth> :
-pending_instantiations <c++-template-depth> ;
to the toolset, but this results in only the feature value ending up in the
command line.
Using
flags hp_cxx.compile.c++ OPTIONS :
-pending_instantiations <c++-template-depth> ;
works, but results in always adding -pending_instantiations <n> to the
compiler command line, even when the feature is not specified.
Is there a way to not get the modification of the command line when the
feature is not specified?
I also tried
flags hp_cxx.compile.c++ OPTIONS <c++-template-depth>* :
-pending_instantiations <c++-template-depth> ;
but this obviously doesn't work either.
And could we please change the first range of allowed feature values to
include 64 with a stepping of 64? Because 64 is the default value for both
acc and cxx.
Markus
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