|
Boost-Build : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-07-30 08:16:21
Ilya Sokolov wrote:
> Markus Schöpflin wrote:
>> Ilya Sokolov wrote:
>>
>> [...]
>>
>>> Why not use <cxxflags> instead of <c++-template-depth> as the value
>>> is toolset-dependent anyway?
>>
>> Are you questioning the wisdom of the existence of the
>> <c++-template-depth> feature itself?
>>
>> A real big advantage is that its existence allows to write
>>
>> foo.cxx : : : <c++-template-depth>bar ;
>
> No, template-depth is an internal constant of the compiler, so most
> probably its value will be different on each of them, i.e.
[...]
I don't follow you here.
What I (as a Jamfile author) want to express is that for this file to
compile the minimum needed template recursion depth is <bar>.
This should translate to whatever flags are needed for the specific
toolset, it the compiler in question has support for specifying the
recursion depth.
If I don't care about the template recursion depth, I don't specify
anything, boost.build doesn't provide a default as well, and the compiler
will pick whichever internal default it has.
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