Boost logo

Boost-Build :

From: Gubenko, Boris (boris.gubenko_at_[hidden])
Date: 2008-07-30 11:59:39


Unlike cxx, with aC++ the --pending_instantiations option available only through -Wc interface.

The test compiles cleanly with:

        -Wc,--pending_instantiations=128

Thanks,
  Boris

> -----Original Message-----
> From: Markus Schöpflin [mailto:markus.schoepflin_at_[hidden]]
> Sent: Wednesday, July 30, 2008 10:07 AM
> Cc: Gubenko, Boris
> Subject: Re: [PATCH] -ftemplate-depth
>
> Jurko Gospodnetiæ wrote:
>
> [...]
>
> > Until then, here is how I got your hp_cxx toolset problem solved:
>
> [...]
>
> > I'll commit something like this once I get the gcc command line
> > options problem sorted out, but this should help you
> achieve what you
> > need locally on your end.
>
> I'll wait for your commit then. The problem is present on the
> current trunk for a unit test of the integer library, so we
> need a fix in the trunk.
>
> Locally I did work around this by adding
>
> <cxxflags>"-pending_instantiations 128"
>
> to my user configuration file for boost.build.
>
> > Btw, you mentioned needing this support for the acc
> toolset as well.
> > What is the correct command-line parameter there?
>
> No idea, I'll CC Boris on this mail, I think he will be able
> to tell us what the compiler flag to increase the recursion
> depth for template instantiations for acc is.
>
> Looking at
> http://beta.boost.org/development/tests/trunk/developer/intege
> r.html, I think that the pgi and como toolsets need this, too.
>
> Thanks,
> 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