>> On 23/04/2013 06:30, Daniel Krügler wrote:
>>> Am 22.04.2013 23:48, schrieb rkadeFR:
>>>> I'm programming with G++ 4.3, and the compiler warn me about the
>>>> deprecation of auto_ptr. But there isn't any unique_ptr in G++
>>>> 4.3, so what I'm supposed to do ?
>>>
>>> If g++ 4.3 deprecates std::auto_ptr without introducing
>>> std::unique_ptr, this looks weird to me. I suggest to use a newer
>>> compiler version.
>>
>> Thank you, but I can't use a newer version of my compiler.
>>
>> That looked weird to me at first, so I searched here if the feature
>> was implemented:
gcc.gnu.org/gcc-4.3/cxx0x_status.html. Then I
>> looked again in the sources file in /usr/include/c++/4.3, and I
>> didn't find any unique_ptr implementation.
>>
>> So I'm using the auto_ptr so far.
>
> Are you using libstdc++ as it came with gcc-4.3? (It is the
> standard C++ library which is emitting this warning.) Otherwise I
> don't understand your report, as many moons ago I used gcc-4.3, and
> it didn't exhibit this (at least when compiling for c++98/03, I
> don't think I ever tried the -c++0x flag with that compiler).
>
> Anyway, if the deprecation warnings bother you, you can always
> compile with the -Wno-deprecated flag.