Warning at SLES build? What is the meaning of the Warning??

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Tue, 22 Apr 2014 01:45:29 +0300

I have compiled 3.4.4 on SLES and it works fine.
Now the problem is that there is one tiny warning about some "auto_ptr"
which I do not know.
So the first thing to do is to understand the issue before I will apply
a "disable-strict...".
I have not tested the build to run and Until the warning will be
understood I do not intend to do so.

The lines related are:
##START
mv -f .deps/Forwarder.Tpo .deps/Forwarder.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../lib -I../../src -I../../include
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -pipe
-D_REENTRANT -g -O2 -march=native -std=c++0x -MT FunAction.lo -MD -MP
-MF .deps/FunAction.Tpo -c -o FunAction.lo FunAction.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT FunAction.lo -MD -MP -MF
.deps/FunAction.Tpo -c FunAction.cc -fPIC -DPIC -o .libs/FunAction.o
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT FunAction.lo -MD -MP -MF
.deps/FunAction.Tpo -c FunAction.cc -o FunAction.o >/dev/null 2>&1
mv -f .deps/FunAction.Tpo .deps/FunAction.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../lib -I../../src -I../../include
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -pipe
-D_REENTRANT -g -O2 -march=native -std=c++0x -MT InfoAction.lo -MD -MP
-MF .deps/InfoAction.Tpo -c -o InfoAction.lo InfoAction.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT InfoAction.lo -MD -MP -MF
.deps/InfoAction.Tpo -c InfoAction.cc -fPIC -DPIC -o .libs/InfoAction.o
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT InfoAction.lo -MD -MP -MF
.deps/InfoAction.Tpo -c InfoAction.cc -o InfoAction.o >/dev/null 2>&1
mv -f .deps/InfoAction.Tpo .deps/InfoAction.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../lib -I../../src -I../../include
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -pipe
-D_REENTRANT -g -O2 -march=native -std=c++0x -MT Inquirer.lo -MD -MP -MF
.deps/Inquirer.Tpo -c -o Inquirer.lo Inquirer.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT Inquirer.lo -MD -MP -MF .deps/Inquirer.Tpo
-c Inquirer.cc -fPIC -DPIC -o .libs/Inquirer.o
Inquirer.cc: In member function 'virtual void Mgr::Inquirer::start()':
Inquirer.cc:90: warning: 'auto_ptr' is deprecated (declared at
/usr/include/c++/4.3/backward/auto_ptr.h:91)
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT Inquirer.lo -MD -MP -MF .deps/Inquirer.Tpo
-c Inquirer.cc -o Inquirer.o >/dev/null 2>&1
mv -f .deps/Inquirer.Tpo .deps/Inquirer.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../lib -I../../src -I../../include
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -pipe
-D_REENTRANT -g -O2 -march=native -std=c++0x -MT IntervalAction.lo -MD
-MP -MF .deps/IntervalAction.Tpo -c -o IntervalAction.lo IntervalAction.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT IntervalAction.lo -MD -MP -MF
.deps/IntervalAction.Tpo -c IntervalAction.cc -fPIC -DPIC -o
.libs/IntervalAction.o
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT IntervalAction.lo -MD -MP -MF
.deps/IntervalAction.Tpo -c IntervalAction.cc -o IntervalAction.o
>/dev/null 2>&1
mv -f .deps/IntervalAction.Tpo .deps/IntervalAction.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../lib -I../../src -I../../include
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -pipe
-D_REENTRANT -g -O2 -march=native -std=c++0x -MT IoAction.lo -MD -MP -MF
.deps/IoAction.Tpo -c -o IoAction.lo IoAction.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT IoAction.lo -MD -MP -MF .deps/IoAction.Tpo
-c IoAction.cc -fPIC -DPIC -o .libs/IoAction.o
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../lib -I../../src -I../../include -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT -g -O2
-march=native -std=c++0x -MT IoAction.lo -MD -MP -MF .deps/IoAction.Tpo
-c IoAction.cc -o IoAction.o >/dev/null 2>&1
mv -f .deps/IoAction.Tpo .deps/IoAction.Plo
##END

I do have the full build log if needed.
It states that the use of auto_ptr is deprecated and if so there is a
need to do something about it.

The full info is at:
http://www1.ngtech.co.il/squid/sles/build1.log
http://www1.ngtech.co.il/squid/sles/packages

The above is the build log and the list of packages that are installed
on the SLES build node.
There is a missing dependency for translation on this machine so in a
case there is a specific software requirement for that I will be glad to
find it out and install it on the build node.

So first, What is the warning about and do you think we need to do
something about it?

For now I managed to build RPMs for:
Oracle Linux x64
CentOS 6.5 x64 and i686
OpenSUSE 12.1 (and couple more new versions) x64
SLES 11 SP3

Am I missing any other RPM based system out there?

Thanks,
Eliezer
Received on Mon Apr 21 2014 - 22:46:00 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 22 2014 - 12:00:14 MDT