
28 Mar
2008
28 Mar
'08
1:06 p.m.
a a
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?