Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2008-07-31 09:17:08


On Jul 31, 2008, at 3:58 AM, Markus Schöpflin wrote:

> Markus Schöpflin wrote:
>
> [...]
>
>> 1) I need to increase the maximum number of pending
>> instantiations, it seems that the default value of the compiler
>> (64) is not enough. This is also true for the acc toolset, AFAICT.
>
> [...]
>
> As Boost.Build has recently gained support for specifying the
> maximum recursion depth in a compiler independent manner, I suggest
> the following patch for the integer/test Jamfile.
>
> OK to commit?
>
> Markus
> Index: Jamfile.v2
> ===================================================================
> --- Jamfile.v2 (revision 47904)
> +++ Jamfile.v2 (working copy)
> @@ -7,7 +7,7 @@
> test-suite integer
> : [ run cstdint_test.cpp ]
> [ run integer_test.cpp
> - /boost/test//boost_unit_test_framework ]
> + /boost/test//boost_unit_test_framework : : : <c++-
> template-depth>70 ]
> [ run integer_traits_test.cpp
> /boost/test//boost_test_exec_monitor/<link>static ]
> [ run integer_mask_test.cpp

What happens on systems, like mine, that already have sufficient
recursive depth? Will specifying a maximum lower that the default
actually lower the setting? If so, then this addition could be
dangerous.

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk