Boost logo

Boost-Build :

Subject: [Boost-build] Changes to template-depth in qcc.jam not working fully
From: Niklas Angare (li51ckf02_at_[hidden])
Date: 2008-11-23 19:08:28


The accumulators/test/weighted_tail_variate_means test fails with "template
instantiation depth exceeds maximum of 100" when running regression tests
with the qcc toolset. I've tried to increase the depth by editing
tools/build/v2/tools/qcc.jam so that it's like gcc.jam which has a default
depth of 128 but the compiler is still called with -Wc,-ftemplate-depth-100.

My changes have effect when I run bjam directly in the
libs/accumulators/test directory, but not when I run regression tests. I
have to add --bjam-options="c++-template-depth=128" to the command line to
make it work.

-- 
Regards
Niklas Angare 

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