Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-09-18 12:05:06


From: "Beman Dawes" <bdawes_at_[hidden]>

> The msvc toolset currently sets compiler switch /Zm400
>
> When the first ublas test was added to status/Jamfile, it fails vc7 with
> the message: D:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\ostream(647) : fatal error C1076: compiler limit :
> internal heap limit reached; use /Zm to specify a higher limit
>
> I tried /Zm800, and the test then compiles and passes the runtime test
too.
>
> Will it cause anyone pain if I move /Zm400 up to /Zm800 in the msvc
> toolset?

It's fine with me. However, you might also consider adding something like:

<msvc><*><cxxflags>/Zm800

to the properties of this one test, just to avoid grabbing resources you
don't need. The main downside is that you really need to do that for all
the msvc-based toolsets: msvc, vc7 (?does vc7 need this flag?),
msvc-stlport. I don't think there are any others that invoke microsoft's
compiler.

Just a thought. I have no strong preferences in the matter.

-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com

 


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