On 11/20/2012 12:18 PM, Stephen Kelly wrote:
>> - The std::auto_ptr from <memory> is not portable to ancient compilers.
>>   Use cmsys::auto_ptr as one can see elsewhere in CMake.
> 
> Yes, I saw cmsys::auto_ptr, but std::auto_ptr is also used in CMake. (eg, 
> cmake::ReadListFile), so I guess the ancient compilers that used to not work 
> with std::auto_ptr are no longer on the dashboard. 

It's not plain std::auto_ptr as a local variable that doesn't work.
It's other uses for things like returning from functions.  We need
to use the cmsys version.

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to