Boost logo

Boost Users :

Subject: Re: [Boost-users] C++03 unique_ptr emulation
From: Sergey Skorokhodov (ucayalyfish_at_[hidden])
Date: 2009-03-06 10:24:36


>> Howard Hinnant wrote:
>> I've put up a new version of an C++03 emulated unique_ptr here:
>> <skip>
>> I tried to use this implementation with MSVC 7.1 sp1 and 9.0 sp1 and
>> encounter ICE in the following code:


>> Here is the exact compiler output:
>> 1>c:\prj\vs2005\projects\unique_tsts\unique_tst\unique_tst.cpp(21) :
>> fatal error C1001: An internal error has occurred in the compiler.


>> Is something wrong with my code or is it a "pure" MSVC bug?

> Ovanes Markarian wrote:
> Would probably specifying the /Zm2000 compiler help?
> Can't test it right now. This is the precompiled header memory size,
> but I found it to be helpful even in non-precompiled header
> projects/files.

I used /Zm=1000, the compiler got out of heap space with /Zm=2000 :(

Sergey Skorokhodov

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at