Re: SLES build error, what to do?

From: Marcus Kool <marcus.kool_at_urlfilterdb.com>
Date: Mon, 23 Dec 2013 22:11:02 -0200

On 12/23/2013 05:30 PM, Eliezer Croitoru wrote:
> Thanks Amos,
>
> On 23/12/13 05:33, Amos Jeffries wrote:
>>
>>> >Inquirer.cc:90: error: 'auto_ptr' is deprecated (declared at
>>> >/usr/include/c++/4.3/backward/auto_ptr.h:91)
>> This is a GCC bug. For a couple of releases the STL library required
>> more advanced C++11 support than the compiler provided.
>>
>> It can only be worked around by upgrading GCC.
> OK so for SLES that has 4.3 specific version and they would probably will not upgrade for the next who knows how long..

https://www.suse.com/releasenotes/x86_64/SUSE-SLES/11-SP3/
has the information that you need: SLES 11 SP3 has an optional SDK with gcc 4.7.2

Marcus

> The suggestion is to compile and use it only as one process??
> What I mean is that: if there will be pointer error how far can it make the runtime error be?
>
> Thanks again,
> Eliezer
>
> <SNIP>
>>> >But after using the mentioned option the results seems like:
>>> ># tail -f /usr/local/squid/var/logs/access.log
>>> >1387753634.690 305 192.168.10.100 TCP_REFRESH_UNMODIFIED/304 306 GET
>>> >http://docs.fedoraproject.org/en-US/index.html -
>>> >HIER_DIRECT/80.239.156.215 -
>>> >
>>> >and it seems like it works but will maybe have some problems at runtime?
>> There will be pointer problems in SMP mode.
>>
>> Amos
>
>
>
Received on Tue Dec 24 2013 - 00:11:08 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 27 2013 - 12:00:13 MST