|
Boost Users : |
From: a a (nobodythoughtofthis_at_[hidden])
Date: 2008-04-01 09:09:14
On Fri, Mar 28, 2008 at 3:06 PM, Richard Webb
<richard.webb_at_[hidden]> wrote:
> a a <nobodythoughtofthis <at> gmail.com> writes:
>
> >
> > Hello,
> >
> > I have a simple program to test boost::variant. Under Visual C++
> > 2005, configuration Release (/MD), the build fails with C1060 (out of
> > heap space). The program compiles and runs as expected under Visual
> > C++ 2005 Debug (/MTd), and under Visual C++ 2008 Express, Release and
> > Debug.
> >
>
> I tried compiling your example on VC8SP1, with the result being that the
> compiler (cl.exe) swallowed up almost 2 gigabytes of virtual memory and then
> fell over with the error you mention.
> The same code on VC9 builds quickly with no problems.
> Not a great deal of help i'm afraid - looks like the compiler is getting stuck
> in a loop or something?
Your feedback is very helpful at least as a sanity test of my results!
As mentioned in another post I have tried and so far failed to tweak
the Release build into a usable state. We have identified some less
complicated variations on our make_recursive_variant typedef which
seem OK. Unfortunately this complicates other areas of our app but
for now that's our best workaround. Many thanks for your help.
Regards,
Eric
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net